Class Pipeline.NodeInfo

Definition

Namespace:
Tizen.MachineLearning.Inference
Assembly:
Tizen.MachineLearning.Inference.dll
API Level:
8

NodeInfo class for node information in pipeline. Note that, node is depend on the pipeline. If the pipeline is closed, all the node information is invalid.

C#
Copy
public abstract class NodeInfo
Inheritance
System.Object
Pipeline.NodeInfo
Derived

Constructors

View Source

NodeInfo(Pipeline.NodeType, String, Pipeline)

Creates a new NodeInfo instance with the given node information

Declaration
C#
Copy
protected NodeInfo(Pipeline.NodeType type, string name, Pipeline pipe)
Parameters
Type Name Description
Pipeline.NodeType type

The node type.

System.String name

The node name.

Pipeline pipe

The Pipeline instance the node included.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference

Properties

View Source

Name

The node name.

Declaration
C#
Copy
public string Name { get; }
Property Value
Type Description
System.String
API Level: 8
View Source

Type

The node type.

Declaration
C#
Copy
public Pipeline.NodeType Type { get; }
Property Value
Type Description
Pipeline.NodeType
API Level: 8
View Source

Valid

The flag to indicate valid state.

Declaration
C#
Copy
public bool Valid { get; }
Property Value
Type Description
Boolean
API Level: 8

Methods

View Source

GetValue(String, out Boolean)

Gets the boolean of node's property in NNStreamer pipelines.

Declaration
C#
Copy
public void GetValue(string propertyName, out bool retValue)
Parameters
Type Name Description
System.String propertyName

The property name.

Boolean retValue

On return, a boolean value.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.ArgumentException

Thrown when the method failed due to an invalid parameter.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View Source

GetValue(String, out Double)

Gets the floating-point value of node's property in NNStreamer pipelines.

Declaration
C#
Copy
public void GetValue(string propertyName, out double retValue)
Parameters
Type Name Description
System.String propertyName

The property name.

System.Double retValue

On return, a floating-point value.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.ArgumentException

Thrown when the method failed due to an invalid parameter.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View Source

GetValue(String, out Int32)

Gets the integer (i.e. System.Int32) of node's property in NNStreamer pipelines.

Declaration
C#
Copy
public void GetValue(string propertyName, out int retValue)
Parameters
Type Name Description
System.String propertyName

The property name.

Int32 retValue

On return, a integer value.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.ArgumentException

Thrown when the method failed due to an invalid parameter.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View Source

GetValue(String, out Int64)

Gets the long integer (i.e. System.Int64) of node's property in NNStreamer pipelines.

Declaration
C#
Copy
public void GetValue(string propertyName, out long retValue)
Parameters
Type Name Description
System.String propertyName

The property name.

System.Int64 retValue

On return, a long integer value.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.ArgumentException

Thrown when the method failed due to an invalid parameter.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View Source

GetValue(String, out String)

Gets the string of node's property in NNStreamer pipelines.

Declaration
C#
Copy
public void GetValue(string propertyName, out string retValue)
Parameters
Type Name Description
System.String propertyName

The property name.

System.String retValue

On return, a string value.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.ArgumentException

Thrown when the method failed due to an invalid parameter.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View Source

GetValue(String, out UInt32)

Gets the unsigned integer (i.e. System.UInt32) of node's property in NNStreamer pipelines.

Declaration
C#
Copy
public void GetValue(string propertyName, out uint retValue)
Parameters
Type Name Description
System.String propertyName

The property name.

System.UInt32 retValue

On return, a unsigned integer value.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.ArgumentException

Thrown when the method failed due to an invalid parameter.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View Source

GetValue(String, out UInt64)

Gets the unsigned long integer (i.e. System.UInt64) of node's property in NNStreamer pipelines.

Declaration
C#
Copy
public void GetValue(string propertyName, out ulong retValue)
Parameters
Type Name Description
System.String propertyName

The property name.

System.UInt64 retValue

On return, a unsigned long integer value.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.ArgumentException

Thrown when the method failed due to an invalid parameter.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View Source

GetValue<T>(String)

Get the value of node's property in NNStreamer pipelines.

Declaration
C#
Copy
public T GetValue<T>(string propertyName)
Parameters
Type Name Description
System.String propertyName

The property name.

Returns
Type Description
T

The value of given property.

Type Parameters
Name Description
T

The value type of given property.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.ArgumentException

Thrown when the method failed due to an invalid parameter.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View Source

SetValue(String, Boolean)

Sets the boolean of node's property in NNStreamer pipelines.

Declaration
C#
Copy
public void SetValue(string propertyName, bool value)
Parameters
Type Name Description
System.String propertyName

The property name.

Boolean value

The boolean value of given property.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.ArgumentException

Thrown when the method failed due to an invalid parameter.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View Source

SetValue(String, Double)

Gets the floating-point value of node's property in NNStreamer pipelines.

Declaration
C#
Copy
public void SetValue(string propertyName, double value)
Parameters
Type Name Description
System.String propertyName

The property name.

System.Double value

The floating-point value of given property.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.ArgumentException

Thrown when the method failed due to an invalid parameter.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View Source

SetValue(String, Int32)

Sets the integer (i.e. System.Int32) of node's property in NNStreamer pipelines.

Declaration
C#
Copy
public void SetValue(string propertyName, int value)
Parameters
Type Name Description
System.String propertyName

The property name.

Int32 value

The integer value of given property.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.ArgumentException

Thrown when the method failed due to an invalid parameter.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View Source

SetValue(String, Int64)

Sets the long integer (i.e. System.Int64) of node's property in NNStreamer pipelines.

Declaration
C#
Copy
public void SetValue(string propertyName, long value)
Parameters
Type Name Description
System.String propertyName

The property name.

System.Int64 value

The long integer value of given property.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.ArgumentException

Thrown when the method failed due to an invalid parameter.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View Source

SetValue(String, String)

Sets the string of node's property in NNStreamer pipelines.

Declaration
C#
Copy
public void SetValue(string propertyName, string value)
Parameters
Type Name Description
System.String propertyName

The property name.

System.String value

The string of given property.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.ArgumentException

Thrown when the method failed due to an invalid parameter.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View Source

SetValue(String, UInt32)

Sets the unsigned integer (i.e. System.UInt32) of node's property in NNStreamer pipelines.

Declaration
C#
Copy
public void SetValue(string propertyName, uint value)
Parameters
Type Name Description
System.String propertyName

The property name.

System.UInt32 value

The unsigned integer value of given property.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.ArgumentException

Thrown when the method failed due to an invalid parameter.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View Source

SetValue(String, UInt64)

Sets the unsigned long integer (i.e. System.UInt64) of node's property in NNStreamer pipelines.

Declaration
C#
Copy
public void SetValue(string propertyName, ulong value)
Parameters
Type Name Description
System.String propertyName

The property name.

System.UInt64 value

The unsigned long integer value of given property.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.ArgumentException

Thrown when the method failed due to an invalid parameter.

API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference