Class FunctionalTensor
Represents a tensor that is a result of tensor operations.
Inherited Members
Namespace: Unity.Sentis
Assembly: Unity.Sentis.dll
Syntax
public class FunctionalTensor
Properties
this[Index, Index, Index, Range]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Index i0, Index i1, Index i2, Range i3] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Index | i0 | The first index. |
Index | i1 | The second index. |
Index | i2 | The third index. |
Range | i3 | The fourth index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Index, Index, Range]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Index i0, Index i1, Range i2] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Index | i0 | The first index. |
Index | i1 | The second index. |
Range | i2 | The third index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Index, Index, Range, Index]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Index i0, Index i1, Range i2, Index i3] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Index | i0 | The first index. |
Index | i1 | The second index. |
Range | i2 | The third index. |
Index | i3 | The fourth index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Index, Index, Range, Range]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Index i0, Index i1, Range i2, Range i3] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Index | i0 | The first index. |
Index | i1 | The second index. |
Range | i2 | The third index. |
Range | i3 | The fourth index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Index, Range]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Index i0, Range i1] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Index | i0 | The first index. |
Range | i1 | The second index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Index, Range, Index]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Index i0, Range i1, Index i2] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Index | i0 | The first index. |
Range | i1 | The second index. |
Index | i2 | The third index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Index, Range, Index, Index]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Index i0, Range i1, Index i2, Index i3] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Index | i0 | The first index. |
Range | i1 | The second index. |
Index | i2 | The third index. |
Index | i3 | The fourth index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Index, Range, Index, Range]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Index i0, Range i1, Index i2, Range i3] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Index | i0 | The first index. |
Range | i1 | The second index. |
Index | i2 | The third index. |
Range | i3 | The fourth index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Index, Range, Range]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Index i0, Range i1, Range i2] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Index | i0 | The first index. |
Range | i1 | The second index. |
Range | i2 | The third index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Index, Range, Range, Index]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Index i0, Range i1, Range i2, Index i3] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Index | i0 | The first index. |
Range | i1 | The second index. |
Range | i2 | The third index. |
Index | i3 | The fourth index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Index, Range, Range, Range]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Index i0, Range i1, Range i2, Range i3] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Index | i0 | The first index. |
Range | i1 | The second index. |
Range | i2 | The third index. |
Range | i3 | The fourth index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Index[]]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[params Index[] indices] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Index[] | indices | The indexes to index with. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Range, Index]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Range i0, Index i1] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Range | i0 | The first index. |
Index | i1 | The second index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Range, Index, Index]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Range i0, Index i1, Index i2] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Range | i0 | The first index. |
Index | i1 | The second index. |
Index | i2 | The third index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Range, Index, Index, Index]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Range i0, Index i1, Index i2, Index i3] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Range | i0 | The first index. |
Index | i1 | The second index. |
Index | i2 | The third index. |
Index | i3 | The fourth index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Range, Index, Index, Range]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Range i0, Index i1, Index i2, Range i3] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Range | i0 | The first index. |
Index | i1 | The second index. |
Index | i2 | The third index. |
Range | i3 | The fourth index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Range, Index, Range]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Range i0, Index i1, Range i2] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Range | i0 | The first index. |
Index | i1 | The second index. |
Range | i2 | The third index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Range, Index, Range, Index]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Range i0, Index i1, Range i2, Index i3] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Range | i0 | The first index. |
Index | i1 | The second index. |
Range | i2 | The third index. |
Index | i3 | The fourth index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Range, Index, Range, Range]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Range i0, Index i1, Range i2, Range i3] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Range | i0 | The first index. |
Index | i1 | The second index. |
Range | i2 | The third index. |
Range | i3 | The fourth index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Range, Range, Index]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Range i0, Range i1, Index i2] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Range | i0 | The first index. |
Range | i1 | The second index. |
Index | i2 | The third index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Range, Range, Index, Index]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Range i0, Range i1, Index i2, Index i3] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Range | i0 | The first index. |
Range | i1 | The second index. |
Index | i2 | The third index. |
Index | i3 | The fourth index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Range, Range, Index, Range]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Range i0, Range i1, Index i2, Range i3] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Range | i0 | The first index. |
Range | i1 | The second index. |
Index | i2 | The third index. |
Range | i3 | The fourth index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Range, Range, Range, Index]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[Range i0, Range i1, Range i2, Index i3] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Range | i0 | The first index. |
Range | i1 | The second index. |
Range | i2 | The third index. |
Index | i3 | The fourth index. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
this[Range[]]
Indexes the functional tensor.
Declaration
public FunctionalTensor this[params Range[] ranges] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Range[] | ranges | The ranges to index with. |
Property Value
Type | Description |
---|---|
FunctionalTensor |
Methods
FromConstant(Constant)
Creates and returns an instance of FunctionalTensor
from an existing constant.
Declaration
public static FunctionalTensor FromConstant(Constant constant)
Parameters
Type | Name | Description |
---|---|---|
Constant | constant | The constant to use as the source. |
Returns
Type | Description |
---|---|
FunctionalTensor | The functional tensor. |
FromModel(Model, FunctionalTensor[], bool)
Creates and returns an array of FunctionalTensor
as the outputs of an existing model.
Declaration
public static FunctionalTensor[] FromModel(Model model, FunctionalTensor[] inputs, bool withCopy = false)
Parameters
Type | Name | Description |
---|---|---|
Model | model | The model to use as the source. |
FunctionalTensor[] | inputs | The functional tensors to use as the inputs to the model. |
bool | withCopy | Whether to do a deep copy of the model. When |
Returns
Type | Description |
---|---|
FunctionalTensor[] | The functional tensor array. |
FromTensor(Tensor)
Creates and returns an instance of FunctionalTensor
from an existing tensor.
Declaration
public static FunctionalTensor FromTensor(Tensor tensor)
Parameters
Type | Name | Description |
---|---|---|
Tensor | tensor | The tensor to use as the source. |
Returns
Type | Description |
---|---|
FunctionalTensor | The functional tensor. |
Operators
operator +(int, FunctionalTensor)
Addition operator.
Declaration
public static FunctionalTensor operator +(int a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
int | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator +(float, FunctionalTensor)
Addition operator.
Declaration
public static FunctionalTensor operator +(float a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
float | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator +(FunctionalTensor, int)
Addition operator.
Declaration
public static FunctionalTensor operator +(FunctionalTensor a, int b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
int | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator +(FunctionalTensor, float)
Addition operator.
Declaration
public static FunctionalTensor operator +(FunctionalTensor a, float b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
float | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator +(FunctionalTensor, FunctionalTensor)
Addition operator.
Declaration
public static FunctionalTensor operator +(FunctionalTensor a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator &(bool, FunctionalTensor)
And operator.
Declaration
public static FunctionalTensor operator &(bool a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
bool | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator &(FunctionalTensor, bool)
And operator.
Declaration
public static FunctionalTensor operator &(FunctionalTensor a, bool b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
bool | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator &(FunctionalTensor, FunctionalTensor)
And operator.
Declaration
public static FunctionalTensor operator &(FunctionalTensor a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator |(bool, FunctionalTensor)
Or operator.
Declaration
public static FunctionalTensor operator |(bool a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
bool | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator |(FunctionalTensor, bool)
Or operator.
Declaration
public static FunctionalTensor operator |(FunctionalTensor a, bool b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
bool | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator |(FunctionalTensor, FunctionalTensor)
Or operator.
Declaration
public static FunctionalTensor operator |(FunctionalTensor a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator /(int, FunctionalTensor)
Division operator.
Declaration
public static FunctionalTensor operator /(int a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
int | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator /(float, FunctionalTensor)
Division operator.
Declaration
public static FunctionalTensor operator /(float a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
float | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator /(FunctionalTensor, int)
Division operator.
Declaration
public static FunctionalTensor operator /(FunctionalTensor a, int b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
int | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator /(FunctionalTensor, float)
Division operator.
Declaration
public static FunctionalTensor operator /(FunctionalTensor a, float b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
float | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator /(FunctionalTensor, FunctionalTensor)
Division operator.
Declaration
public static FunctionalTensor operator /(FunctionalTensor a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator ^(bool, FunctionalTensor)
Xor operator.
Declaration
public static FunctionalTensor operator ^(bool a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
bool | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator ^(FunctionalTensor, bool)
Xor operator.
Declaration
public static FunctionalTensor operator ^(FunctionalTensor a, bool b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
bool | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator ^(FunctionalTensor, FunctionalTensor)
Xor operator.
Declaration
public static FunctionalTensor operator ^(FunctionalTensor a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator >(int, FunctionalTensor)
Greater than operator.
Declaration
public static FunctionalTensor operator >(int a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
int | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator >(float, FunctionalTensor)
Greater than operator.
Declaration
public static FunctionalTensor operator >(float a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
float | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator >(FunctionalTensor, int)
Greater than operator.
Declaration
public static FunctionalTensor operator >(FunctionalTensor a, int b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
int | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator >(FunctionalTensor, float)
Greater than operator.
Declaration
public static FunctionalTensor operator >(FunctionalTensor a, float b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
float | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator >(FunctionalTensor, FunctionalTensor)
Greater than operator.
Declaration
public static FunctionalTensor operator >(FunctionalTensor a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator >=(int, FunctionalTensor)
Greater than or equal operator.
Declaration
public static FunctionalTensor operator >=(int a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
int | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator >=(float, FunctionalTensor)
Greater than or equal operator.
Declaration
public static FunctionalTensor operator >=(float a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
float | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator >=(FunctionalTensor, int)
Greater than or equal operator.
Declaration
public static FunctionalTensor operator >=(FunctionalTensor a, int b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
int | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator >=(FunctionalTensor, float)
Greater than or equal operator.
Declaration
public static FunctionalTensor operator >=(FunctionalTensor a, float b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
float | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator >=(FunctionalTensor, FunctionalTensor)
Greater than or equal operator.
Declaration
public static FunctionalTensor operator >=(FunctionalTensor a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator <(int, FunctionalTensor)
Less than operator.
Declaration
public static FunctionalTensor operator <(int a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
int | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator <(float, FunctionalTensor)
Less than operator.
Declaration
public static FunctionalTensor operator <(float a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
float | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator <(FunctionalTensor, int)
Less than operator.
Declaration
public static FunctionalTensor operator <(FunctionalTensor a, int b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
int | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator <(FunctionalTensor, float)
Less than operator.
Declaration
public static FunctionalTensor operator <(FunctionalTensor a, float b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
float | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator <(FunctionalTensor, FunctionalTensor)
Less than operator.
Declaration
public static FunctionalTensor operator <(FunctionalTensor a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator <=(int, FunctionalTensor)
Less than or equal operator.
Declaration
public static FunctionalTensor operator <=(int a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
int | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator <=(float, FunctionalTensor)
Less than or equal operator.
Declaration
public static FunctionalTensor operator <=(float a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
float | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator <=(FunctionalTensor, int)
Less than or equal operator.
Declaration
public static FunctionalTensor operator <=(FunctionalTensor a, int b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
int | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator <=(FunctionalTensor, float)
Less than or equal operator.
Declaration
public static FunctionalTensor operator <=(FunctionalTensor a, float b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
float | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator <=(FunctionalTensor, FunctionalTensor)
Less than or equal operator.
Declaration
public static FunctionalTensor operator <=(FunctionalTensor a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator %(int, FunctionalTensor)
Remainder operator.
Declaration
public static FunctionalTensor operator %(int a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
int | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator %(float, FunctionalTensor)
Remainder operator.
Declaration
public static FunctionalTensor operator %(float a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
float | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator %(FunctionalTensor, int)
Remainder operator.
Declaration
public static FunctionalTensor operator %(FunctionalTensor a, int b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
int | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator %(FunctionalTensor, float)
Remainder operator.
Declaration
public static FunctionalTensor operator %(FunctionalTensor a, float b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
float | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator %(FunctionalTensor, FunctionalTensor)
Remainder operator.
Declaration
public static FunctionalTensor operator %(FunctionalTensor a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator *(int, FunctionalTensor)
Multiply operator.
Declaration
public static FunctionalTensor operator *(int a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
int | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator *(float, FunctionalTensor)
Multiply operator.
Declaration
public static FunctionalTensor operator *(float a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
float | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator *(FunctionalTensor, int)
Multiply operator.
Declaration
public static FunctionalTensor operator *(FunctionalTensor a, int b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
int | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator *(FunctionalTensor, float)
Multiply operator.
Declaration
public static FunctionalTensor operator *(FunctionalTensor a, float b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
float | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator *(FunctionalTensor, FunctionalTensor)
Multiply operator.
Declaration
public static FunctionalTensor operator *(FunctionalTensor a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator ~(FunctionalTensor)
Unary not operator.
Declaration
public static FunctionalTensor operator ~(FunctionalTensor a)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The operand tensor. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator -(int, FunctionalTensor)
Subtraction operator.
Declaration
public static FunctionalTensor operator -(int a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
int | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator -(float, FunctionalTensor)
Subtraction operator.
Declaration
public static FunctionalTensor operator -(float a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
float | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator -(FunctionalTensor, int)
Subtraction operator.
Declaration
public static FunctionalTensor operator -(FunctionalTensor a, int b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
int | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator -(FunctionalTensor, float)
Subtraction operator.
Declaration
public static FunctionalTensor operator -(FunctionalTensor a, float b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
float | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator -(FunctionalTensor, FunctionalTensor)
Subtraction operator.
Declaration
public static FunctionalTensor operator -(FunctionalTensor a, FunctionalTensor b)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The first operand. |
FunctionalTensor | b | The second operand. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator -(FunctionalTensor)
Unary negation operator.
Declaration
public static FunctionalTensor operator -(FunctionalTensor a)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The operand tensor. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |
operator +(FunctionalTensor)
Unary plus operator.
Declaration
public static FunctionalTensor operator +(FunctionalTensor a)
Parameters
Type | Name | Description |
---|---|---|
FunctionalTensor | a | The operand tensor. |
Returns
Type | Description |
---|---|
FunctionalTensor | The output tensor. |