Struct Model.Input
Input data structure
Inherited Members
Namespace: Unity.Barracuda
Assembly: Unity.Barracuda.dll
Syntax
public struct Model.Input
Fields
name
Name
Declaration
public string name
Field Value
| Type | Description |
|---|---|
| string |
rank
Input rank
Declaration
public int rank
Field Value
| Type | Description |
|---|---|
| int |
shape
Shape as int array
Declaration
public int[] shape
Field Value
| Type | Description |
|---|---|
| int[] |
Methods
WithName(string)
Creates input structure with specified name
Declaration
public Model.Input WithName(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | name |
Returns
| Type | Description |
|---|---|
| Model.Input | Input structure |