Context
Signature: string
|
context name
CompiledName: get_Context
|
Fix(size)
Signature: size:int64 -> SizeSpecT
|
Returns a fixed size. If size is -1L then a broadcastable size one is created.
|
GetSize(size)
Signature: size:SizeSpecT -> int64
|
gets the numeric value of a previously set symbolic size
|
Instantiate(...)
Signature: (device:IDevice * sizeValues:Map<SizeSpecT,int64> option * canDelay:bool option) -> ModelInstance<'T>
|
instantiates the model with numeric sizes for all size symbols and initializes
the parameter values
|
Module(name)
Signature: name:string -> ModelBuilder<'T>
|
creates and returns a submodule
|
Param(name, shape, initializer)
Signature: (name:string * shape:ShapeSpecT * initializer:Initializer<'T> option) -> ExprT
|
Creates and returns a model parameter.
|
Parameters
Signature: Map<VarSpecT,ParameterInfo<'T>>
|
parameters of this model and all submodels
CompiledName: get_Parameters
|
PrettyString
Signature: string
|
CompiledName: get_PrettyString
|
SetLoc(var loc)
Signature: var:ExprT -> loc:ITensorDevice -> unit
|
sets the location of the given variable
|
SetSize(size value)
Signature: size:SizeSpecT -> value:int64 -> unit
|
sets a symbolic size to a numeric value
|
SetStride(var stride)
Signature: var:ExprT -> (stride:int64 list) -> unit
|
sets the stride of the given variable
|
Size(name)
Signature: name:string -> SizeSpecT
|
Creates and returns a symbolic size.
If the name starts with ">" a dynamic size is created.
|
SubModels
Signature: Map<string,ModelBuilder<'T>>
|
submodules
CompiledName: get_SubModels
|
SymSizeEnv
Signature: Map<SizeSymbolT,SizeSpecT>
|
Inferred size symbol values
CompiledName: get_SymSizeEnv
|
SymSizes
Signature: SizeSpecT list
|
size symbols of this model and all submodels
CompiledName: get_SymSizes
|
UseTmplVal(var value)
Signature: var:ExprT -> value:Tensor<'T> -> unit
|
Infers variable location, variable strides and symbolic sizes by
matching a symbolic variable to the given value.
|
Var(name shape)
Signature: name:string -> shape:ShapeSpecT -> ExprT
|
Creates and returns a model variable.
|
VarLocs
Signature: VarLocsT
|
Variable locations
CompiledName: get_VarLocs
|
Vars
Signature: Set<VarSpecT>
|
variables of this model and all submodels
CompiledName: get_Vars
|