Documentation ¶
Overview ¶
Build, compile, and execute customized multidimensional compute graphs for linear algebra, machine learning, computer vision, and other similar domains.
Index ¶
- Variables
- type CompilationDescriptor
- type CompletionHandler
- type ControlFlowDependencyBlock
- type Convolution2DOpDescriptor
- func Convolution2DOpDescriptorFrom(ptr unsafe.Pointer) Convolution2DOpDescriptor
- func Convolution2DOpDescriptor_DescriptorWithStrideInXStrideInYDilationRateInXDilationRateInYGroupsPaddingLeftPaddingRightPaddingTopPaddingBottomPaddingStyleDataLayoutWeightsLayout(strideInX uint, strideInY uint, dilationRateInX uint, dilationRateInY uint, ...) Convolution2DOpDescriptor
- func Convolution2DOpDescriptor_DescriptorWithStrideInXStrideInYDilationRateInXDilationRateInYGroupsPaddingStyleDataLayoutWeightsLayout(strideInX uint, strideInY uint, dilationRateInX uint, dilationRateInY uint, ...) Convolution2DOpDescriptor
- func NewConvolution2DOpDescriptor() Convolution2DOpDescriptor
- func (c_ Convolution2DOpDescriptor) DataLayout() TensorNamedDataLayout
- func (c_ Convolution2DOpDescriptor) DilationRateInX() uint
- func (c_ Convolution2DOpDescriptor) DilationRateInY() uint
- func (c_ Convolution2DOpDescriptor) Groups() uint
- func (c_ Convolution2DOpDescriptor) Init() Convolution2DOpDescriptor
- func (c_ Convolution2DOpDescriptor) PaddingBottom() uint
- func (c_ Convolution2DOpDescriptor) PaddingLeft() uint
- func (c_ Convolution2DOpDescriptor) PaddingRight() uint
- func (c_ Convolution2DOpDescriptor) PaddingStyle() PaddingStyle
- func (c_ Convolution2DOpDescriptor) PaddingTop() uint
- func (c_ Convolution2DOpDescriptor) SetDataLayout(value TensorNamedDataLayout)
- func (c_ Convolution2DOpDescriptor) SetDilationRateInX(value uint)
- func (c_ Convolution2DOpDescriptor) SetDilationRateInY(value uint)
- func (c_ Convolution2DOpDescriptor) SetExplicitPaddingWithPaddingLeftPaddingRightPaddingTopPaddingBottom(paddingLeft uint, paddingRight uint, paddingTop uint, paddingBottom uint)
- func (c_ Convolution2DOpDescriptor) SetGroups(value uint)
- func (c_ Convolution2DOpDescriptor) SetPaddingBottom(value uint)
- func (c_ Convolution2DOpDescriptor) SetPaddingLeft(value uint)
- func (c_ Convolution2DOpDescriptor) SetPaddingRight(value uint)
- func (c_ Convolution2DOpDescriptor) SetPaddingStyle(value PaddingStyle)
- func (c_ Convolution2DOpDescriptor) SetPaddingTop(value uint)
- func (c_ Convolution2DOpDescriptor) SetStrideInX(value uint)
- func (c_ Convolution2DOpDescriptor) SetStrideInY(value uint)
- func (c_ Convolution2DOpDescriptor) SetWeightsLayout(value TensorNamedDataLayout)
- func (c_ Convolution2DOpDescriptor) StrideInX() uint
- func (c_ Convolution2DOpDescriptor) StrideInY() uint
- func (c_ Convolution2DOpDescriptor) WeightsLayout() TensorNamedDataLayout
- type CreateSparseOpDescriptor
- func (c_ CreateSparseOpDescriptor) DataType() mps.DataType
- func (c_ CreateSparseOpDescriptor) Init() CreateSparseOpDescriptor
- func (c_ CreateSparseOpDescriptor) SetDataType(value mps.DataType)
- func (c_ CreateSparseOpDescriptor) SetSparseStorageType(value SparseStorageType)
- func (c_ CreateSparseOpDescriptor) SparseStorageType() SparseStorageType
- type DepthwiseConvolution2DOpDescriptor
- func DepthwiseConvolution2DOpDescriptorFrom(ptr unsafe.Pointer) DepthwiseConvolution2DOpDescriptor
- func DepthwiseConvolution2DOpDescriptor_DescriptorWithDataLayoutWeightsLayout(dataLayout TensorNamedDataLayout, weightsLayout TensorNamedDataLayout) DepthwiseConvolution2DOpDescriptor
- func DepthwiseConvolution2DOpDescriptor_DescriptorWithStrideInXStrideInYDilationRateInXDilationRateInYPaddingLeftPaddingRightPaddingTopPaddingBottomPaddingStyleDataLayoutWeightsLayout(strideInX uint, strideInY uint, dilationRateInX uint, dilationRateInY uint, ...) DepthwiseConvolution2DOpDescriptor
- func NewDepthwiseConvolution2DOpDescriptor() DepthwiseConvolution2DOpDescriptor
- func (d_ DepthwiseConvolution2DOpDescriptor) DataLayout() TensorNamedDataLayout
- func (d_ DepthwiseConvolution2DOpDescriptor) DilationRateInX() uint
- func (d_ DepthwiseConvolution2DOpDescriptor) DilationRateInY() uint
- func (d_ DepthwiseConvolution2DOpDescriptor) Init() DepthwiseConvolution2DOpDescriptor
- func (d_ DepthwiseConvolution2DOpDescriptor) PaddingBottom() uint
- func (d_ DepthwiseConvolution2DOpDescriptor) PaddingLeft() uint
- func (d_ DepthwiseConvolution2DOpDescriptor) PaddingRight() uint
- func (d_ DepthwiseConvolution2DOpDescriptor) PaddingStyle() PaddingStyle
- func (d_ DepthwiseConvolution2DOpDescriptor) PaddingTop() uint
- func (d_ DepthwiseConvolution2DOpDescriptor) SetDataLayout(value TensorNamedDataLayout)
- func (d_ DepthwiseConvolution2DOpDescriptor) SetDilationRateInX(value uint)
- func (d_ DepthwiseConvolution2DOpDescriptor) SetDilationRateInY(value uint)
- func (d_ DepthwiseConvolution2DOpDescriptor) SetExplicitPaddingWithPaddingLeftPaddingRightPaddingTopPaddingBottom(paddingLeft uint, paddingRight uint, paddingTop uint, paddingBottom uint)
- func (d_ DepthwiseConvolution2DOpDescriptor) SetPaddingBottom(value uint)
- func (d_ DepthwiseConvolution2DOpDescriptor) SetPaddingLeft(value uint)
- func (d_ DepthwiseConvolution2DOpDescriptor) SetPaddingRight(value uint)
- func (d_ DepthwiseConvolution2DOpDescriptor) SetPaddingStyle(value PaddingStyle)
- func (d_ DepthwiseConvolution2DOpDescriptor) SetPaddingTop(value uint)
- func (d_ DepthwiseConvolution2DOpDescriptor) SetStrideInX(value uint)
- func (d_ DepthwiseConvolution2DOpDescriptor) SetStrideInY(value uint)
- func (d_ DepthwiseConvolution2DOpDescriptor) SetWeightsLayout(value TensorNamedDataLayout)
- func (d_ DepthwiseConvolution2DOpDescriptor) StrideInX() uint
- func (d_ DepthwiseConvolution2DOpDescriptor) StrideInY() uint
- func (d_ DepthwiseConvolution2DOpDescriptor) WeightsLayout() TensorNamedDataLayout
- type DepthwiseConvolution3DOpDescriptor
- func DepthwiseConvolution3DOpDescriptorFrom(ptr unsafe.Pointer) DepthwiseConvolution3DOpDescriptor
- func DepthwiseConvolution3DOpDescriptor_DescriptorWithPaddingStyle(paddingStyle PaddingStyle) DepthwiseConvolution3DOpDescriptor
- func DepthwiseConvolution3DOpDescriptor_DescriptorWithStridesDilationRatesPaddingValuesPaddingStyle(strides []foundation.INumber, dilationRates []foundation.INumber, ...) DepthwiseConvolution3DOpDescriptor
- func NewDepthwiseConvolution3DOpDescriptor() DepthwiseConvolution3DOpDescriptor
- func (d_ DepthwiseConvolution3DOpDescriptor) ChannelDimensionIndex() int
- func (d_ DepthwiseConvolution3DOpDescriptor) DilationRates() []foundation.Number
- func (d_ DepthwiseConvolution3DOpDescriptor) Init() DepthwiseConvolution3DOpDescriptor
- func (d_ DepthwiseConvolution3DOpDescriptor) PaddingStyle() PaddingStyle
- func (d_ DepthwiseConvolution3DOpDescriptor) PaddingValues() []foundation.Number
- func (d_ DepthwiseConvolution3DOpDescriptor) SetChannelDimensionIndex(value int)
- func (d_ DepthwiseConvolution3DOpDescriptor) SetDilationRates(value []foundation.INumber)
- func (d_ DepthwiseConvolution3DOpDescriptor) SetPaddingStyle(value PaddingStyle)
- func (d_ DepthwiseConvolution3DOpDescriptor) SetPaddingValues(value []foundation.INumber)
- func (d_ DepthwiseConvolution3DOpDescriptor) SetStrides(value []foundation.INumber)
- func (d_ DepthwiseConvolution3DOpDescriptor) Strides() []foundation.Number
- type Device
- type DeviceType
- type Executable
- func (e_ Executable) EncodeToCommandBufferInputsArrayResultsArrayExecutionDescriptor(commandBuffer mps.ICommandBuffer, inputsArray []ITensorData, ...) []TensorData
- func (e_ Executable) FeedTensors() []Tensor
- func (e_ Executable) Init() Executable
- func (e_ Executable) Options() Options
- func (e_ Executable) RunAsyncWithMTLCommandQueueInputsArrayResultsArrayExecutionDescriptor(commandQueue metal.PCommandQueue, inputsArray []ITensorData, ...) []TensorData
- func (e_ Executable) RunAsyncWithMTLCommandQueueObjectInputsArrayResultsArrayExecutionDescriptor(commandQueueObject objc.IObject, inputsArray []ITensorData, ...) []TensorData
- func (e_ Executable) RunWithMTLCommandQueueInputsArrayResultsArrayExecutionDescriptor(commandQueue metal.PCommandQueue, inputsArray []ITensorData, ...) []TensorData
- func (e_ Executable) RunWithMTLCommandQueueObjectInputsArrayResultsArrayExecutionDescriptor(commandQueueObject objc.IObject, inputsArray []ITensorData, ...) []TensorData
- func (e_ Executable) SetOptions(value Options)
- func (e_ Executable) SpecializeWithDeviceInputTypesCompilationDescriptor(device IDevice, inputTypes []IType, ...)
- func (e_ Executable) TargetTensors() []Tensor
- type ExecutableCompletionHandler
- type ExecutableExecutionDescriptor
- func (e_ ExecutableExecutionDescriptor) CompletionHandler() ExecutableCompletionHandler
- func (e_ ExecutableExecutionDescriptor) Init() ExecutableExecutionDescriptor
- func (e_ ExecutableExecutionDescriptor) ScheduledHandler() ExecutableScheduledHandler
- func (e_ ExecutableExecutionDescriptor) SetCompletionHandler(value ExecutableCompletionHandler)
- func (e_ ExecutableExecutionDescriptor) SetScheduledHandler(value ExecutableScheduledHandler)
- func (e_ ExecutableExecutionDescriptor) SetWaitUntilCompleted(value bool)
- func (e_ ExecutableExecutionDescriptor) WaitUntilCompleted() bool
- type ExecutableScheduledHandler
- type ExecutionDescriptor
- func (e_ ExecutionDescriptor) CompilationDescriptor() CompilationDescriptor
- func (e_ ExecutionDescriptor) CompletionHandler() CompletionHandler
- func (e_ ExecutionDescriptor) Init() ExecutionDescriptor
- func (e_ ExecutionDescriptor) ScheduledHandler() ScheduledHandler
- func (e_ ExecutionDescriptor) SetCompilationDescriptor(value ICompilationDescriptor)
- func (e_ ExecutionDescriptor) SetCompletionHandler(value CompletionHandler)
- func (e_ ExecutionDescriptor) SetScheduledHandler(value ScheduledHandler)
- func (e_ ExecutionDescriptor) SetWaitUntilCompleted(value bool)
- func (e_ ExecutionDescriptor) WaitUntilCompleted() bool
- type ForLoopBodyBlock
- type Graph
- func (g_ Graph) AbsoluteWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) AcosWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) AcoshWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) AdditionWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) ApplyStochasticGradientDescentWithLearningRateTensorVariableGradientTensorName(learningRateTensor ITensor, variable IVariableOp, gradientTensor ITensor, ...) Operation
- func (g_ Graph) AsinWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) AsinhWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) AssignVariableWithValueOfTensorName(variable ITensor, tensor ITensor, name string) Operation
- func (g_ Graph) Atan2WithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) AtanWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) AtanhWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) AvgPooling2DGradientWithGradientTensorSourceTensorDescriptorName(gradient ITensor, source ITensor, descriptor IPooling2DOpDescriptor, ...) Tensor
- func (g_ Graph) AvgPooling2DWithSourceTensorDescriptorName(source ITensor, descriptor IPooling2DOpDescriptor, name string) Tensor
- func (g_ Graph) AvgPooling4DGradientWithGradientTensorSourceTensorDescriptorName(gradient ITensor, source ITensor, descriptor IPooling4DOpDescriptor, ...) Tensor
- func (g_ Graph) AvgPooling4DWithSourceTensorDescriptorName(source ITensor, descriptor IPooling4DOpDescriptor, name string) Tensor
- func (g_ Graph) BandPartWithTensorNumLowerNumUpperName(inputTensor ITensor, numLower int, numUpper int, name string) Tensor
- func (g_ Graph) BandPartWithTensorNumLowerTensorNumUpperTensorName(inputTensor ITensor, numLowerTensor ITensor, numUpperTensor ITensor, ...) Tensor
- func (g_ Graph) BroadcastTensorToShapeName(tensor ITensor, shape *foundation.Array, name string) Tensor
- func (g_ Graph) BroadcastTensorToShapeTensorName(tensor ITensor, shapeTensor ITensor, name string) Tensor
- func (g_ Graph) CastTensorToTypeName(tensor ITensor, type_ mps.DataType, name string) Tensor
- func (g_ Graph) CeilWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) ClampWithTensorMinValueTensorMaxValueTensorName(tensor ITensor, minValueTensor ITensor, maxValueTensor ITensor, name string) Tensor
- func (g_ Graph) CompileWithDeviceFeedsTargetTensorsTargetOperationsCompilationDescriptor(device IDevice, feeds *foundation.Dictionary, targetTensors []ITensor, ...) Executable
- func (g_ Graph) ConcatTensorWithTensorDimensionName(tensor ITensor, tensor2 ITensor, dimensionIndex int, name string) Tensor
- func (g_ Graph) ConcatTensorsDimensionInterleaveName(tensors []ITensor, dimensionIndex int, interleave bool, name string) Tensor
- func (g_ Graph) ConcatTensorsDimensionName(tensors []ITensor, dimensionIndex int, name string) Tensor
- func (g_ Graph) ConstantWithDataShapeDataType(data []byte, shape *foundation.Array, dataType mps.DataType) Tensor
- func (g_ Graph) ConstantWithScalarDataType(scalar float64, dataType mps.DataType) Tensor
- func (g_ Graph) ConstantWithScalarShapeDataType(scalar float64, shape *foundation.Array, dataType mps.DataType) Tensor
- func (g_ Graph) ControlDependencyWithOperationsDependentBlockName(operations []IOperation, dependentBlock ControlFlowDependencyBlock, ...) []Tensor
- func (g_ Graph) Convolution2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeForwardConvolutionDescriptorName(incomingGradient ITensor, weights ITensor, outputShape *foundation.Array, ...) Tensor
- func (g_ Graph) Convolution2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeTensorForwardConvolutionDescriptorName(gradient ITensor, weights ITensor, outputShapeTensor ITensor, ...) Tensor
- func (g_ Graph) Convolution2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeForwardConvolutionDescriptorName(incomingGradient ITensor, source ITensor, outputShape *foundation.Array, ...) Tensor
- func (g_ Graph) Convolution2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeTensorForwardConvolutionDescriptorName(gradient ITensor, source ITensor, outputShapeTensor ITensor, ...) Tensor
- func (g_ Graph) Convolution2DWithSourceTensorWeightsTensorDescriptorName(source ITensor, weights ITensor, descriptor IConvolution2DOpDescriptor, ...) Tensor
- func (g_ Graph) ConvolutionTranspose2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeForwardConvolutionDescriptorName(incomingGradient ITensor, weights ITensor, outputShape *foundation.Array, ...) Tensor
- func (g_ Graph) ConvolutionTranspose2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeTensorForwardConvolutionDescriptorName(incomingGradient ITensor, weights ITensor, outputShape ITensor, ...) Tensor
- func (g_ Graph) ConvolutionTranspose2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeForwardConvolutionDescriptorName(incomingGradientTensor ITensor, source ITensor, outputShape *foundation.Array, ...) Tensor
- func (g_ Graph) ConvolutionTranspose2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeTensorForwardConvolutionDescriptorName(incomingGradientTensor ITensor, source ITensor, outputShape ITensor, ...) Tensor
- func (g_ Graph) ConvolutionTranspose2DWithSourceTensorWeightsTensorOutputShapeDescriptorName(source ITensor, weights ITensor, outputShape *foundation.Array, ...) Tensor
- func (g_ Graph) ConvolutionTranspose2DWithSourceTensorWeightsTensorOutputShapeTensorDescriptorName(source ITensor, weights ITensor, outputShape ITensor, ...) Tensor
- func (g_ Graph) CoordinateAlongAxisTensorWithShapeName(axisTensor ITensor, shape *foundation.Array, name string) Tensor
- func (g_ Graph) CoordinateAlongAxisTensorWithShapeTensorName(axisTensor ITensor, shapeTensor ITensor, name string) Tensor
- func (g_ Graph) CoordinateAlongAxisWithShapeName(axis int, shape *foundation.Array, name string) Tensor
- func (g_ Graph) CoordinateAlongAxisWithShapeTensorName(axis int, shapeTensor ITensor, name string) Tensor
- func (g_ Graph) CosWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) CoshWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) DepthToSpace2DTensorWidthAxisHeightAxisDepthAxisBlockSizeUsePixelShuffleOrderName(tensor ITensor, widthAxis uint, heightAxis uint, depthAxis uint, ...) Tensor
- func (g_ Graph) DepthToSpace2DTensorWidthAxisTensorHeightAxisTensorDepthAxisTensorBlockSizeUsePixelShuffleOrderName(tensor ITensor, widthAxisTensor ITensor, heightAxisTensor ITensor, ...) Tensor
- func (g_ Graph) DepthwiseConvolution2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeDescriptorName(incomingGradient ITensor, weights ITensor, outputShape *foundation.Array, ...) Tensor
- func (g_ Graph) DepthwiseConvolution2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeDescriptorName(incomingGradient ITensor, source ITensor, outputShape *foundation.Array, ...) Tensor
- func (g_ Graph) DepthwiseConvolution2DWithSourceTensorWeightsTensorDescriptorName(source ITensor, weights ITensor, ...) Tensor
- func (g_ Graph) DepthwiseConvolution3DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeDescriptorName(incomingGradient ITensor, weights ITensor, outputShape *foundation.Array, ...) Tensor
- func (g_ Graph) DepthwiseConvolution3DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeDescriptorName(incomingGradient ITensor, source ITensor, outputShape *foundation.Array, ...) Tensor
- func (g_ Graph) DepthwiseConvolution3DWithSourceTensorWeightsTensorDescriptorName(source ITensor, weights ITensor, ...) Tensor
- func (g_ Graph) DivisionNoNaNWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) DivisionWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) DropoutTensorRateName(tensor ITensor, rate float64, name string) Tensor
- func (g_ Graph) DropoutTensorRateTensorName(tensor ITensor, rate ITensor, name string) Tensor
- func (g_ Graph) EncodeToCommandBufferFeedsTargetOperationsResultsDictionaryExecutionDescriptor(commandBuffer mps.ICommandBuffer, feeds *foundation.Dictionary, ...)
- func (g_ Graph) EncodeToCommandBufferFeedsTargetTensorsTargetOperationsExecutionDescriptor(commandBuffer mps.ICommandBuffer, feeds *foundation.Dictionary, ...) *foundation.Dictionary
- func (g_ Graph) EqualWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) ErfWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) ExpandDimsOfTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
- func (g_ Graph) ExpandDimsOfTensorAxesTensorName(tensor ITensor, axesTensor ITensor, name string) Tensor
- func (g_ Graph) ExpandDimsOfTensorAxisName(tensor ITensor, axis int, name string) Tensor
- func (g_ Graph) ExponentBase10WithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) ExponentBase2WithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) ExponentWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) Flatten2DTensorAxisName(tensor ITensor, axis int, name string) Tensor
- func (g_ Graph) Flatten2DTensorAxisTensorName(tensor ITensor, axisTensor ITensor, name string) Tensor
- func (g_ Graph) FloorModuloWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) FloorWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) ForLoopWithLowerBoundUpperBoundStepInitialBodyArgumentsBodyName(lowerBound ITensor, upperBound ITensor, step ITensor, ...) []Tensor
- func (g_ Graph) ForLoopWithNumberOfIterationsInitialBodyArgumentsBodyName(numberOfIterations ITensor, initialBodyArguments []ITensor, ...) []Tensor
- func (g_ Graph) GatherAlongAxisTensorWithUpdatesTensorIndicesTensorName(axisTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, name string) Tensor
- func (g_ Graph) GatherAlongAxisWithUpdatesTensorIndicesTensorName(axis int, updatesTensor ITensor, indicesTensor ITensor, name string) Tensor
- func (g_ Graph) GatherNDWithUpdatesTensorIndicesTensorBatchDimensionsName(updatesTensor ITensor, indicesTensor ITensor, batchDimensions uint, ...) Tensor
- func (g_ Graph) GatherWithUpdatesTensorIndicesTensorAxisBatchDimensionsName(updatesTensor ITensor, indicesTensor ITensor, axis uint, batchDimensions uint, ...) Tensor
- func (g_ Graph) GradientForPrimaryTensorWithTensorsName(primaryTensor ITensor, tensors []ITensor, name string) foundation.Dictionary
- func (g_ Graph) GreaterThanOrEqualToWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) GreaterThanWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) IdentityWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) IfWithPredicateTensorThenBlockElseBlockName(predicateTensor ITensor, thenBlock IfThenElseBlock, elseBlock IfThenElseBlock, ...) []Tensor
- func (g_ Graph) Init() Graph
- func (g_ Graph) IsFiniteWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) IsInfiniteWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) IsNaNWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) L2NormPooling4DGradientWithGradientTensorSourceTensorDescriptorName(gradient ITensor, source ITensor, descriptor IPooling4DOpDescriptor, ...) Tensor
- func (g_ Graph) L2NormPooling4DWithSourceTensorDescriptorName(source ITensor, descriptor IPooling4DOpDescriptor, name string) Tensor
- func (g_ Graph) LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, ...) []Tensor
- func (g_ Graph) LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdInputWeightBiasInitStateInitCellDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, ...) []Tensor
- func (g_ Graph) LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdInputWeightBiasInitStateInitCellMaskDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, ...) []Tensor
- func (g_ Graph) LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdStateGradientCellGradientInputWeightBiasInitStateInitCellMaskPeepholeDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, ...) []Tensor
- func (g_ Graph) LSTMWithSourceTensorRecurrentWeightInitStateInitCellDescriptorName(source ITensor, recurrentWeight ITensor, initState ITensor, initCell ITensor, ...) []Tensor
- func (g_ Graph) LSTMWithSourceTensorRecurrentWeightInputWeightBiasInitStateInitCellDescriptorName(source ITensor, recurrentWeight ITensor, inputWeight ITensor, bias ITensor, ...) []Tensor
- func (g_ Graph) LSTMWithSourceTensorRecurrentWeightInputWeightBiasInitStateInitCellMaskPeepholeDescriptorName(source ITensor, recurrentWeight ITensor, inputWeight ITensor, bias ITensor, ...) []Tensor
- func (g_ Graph) LeakyReLUGradientWithIncomingGradientSourceTensorAlphaTensorName(gradient ITensor, source ITensor, alphaTensor ITensor, name string) Tensor
- func (g_ Graph) LeakyReLUWithTensorAlphaName(tensor ITensor, alpha float64, name string) Tensor
- func (g_ Graph) LeakyReLUWithTensorAlphaTensorName(tensor ITensor, alphaTensor ITensor, name string) Tensor
- func (g_ Graph) LessThanOrEqualToWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) LessThanWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) LogarithmBase10WithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) LogarithmBase2WithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) LogarithmWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) LogicalANDWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) LogicalNANDWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) LogicalNORWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) LogicalORWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) LogicalXNORWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) LogicalXORWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) MatrixMultiplicationWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) MaxPooling2DGradientWithGradientTensorSourceTensorDescriptorName(gradient ITensor, source ITensor, descriptor IPooling2DOpDescriptor, ...) Tensor
- func (g_ Graph) MaxPooling2DReturnIndicesWithSourceTensorDescriptorName(source ITensor, descriptor IPooling2DOpDescriptor, name string) []Tensor
- func (g_ Graph) MaxPooling2DWithSourceTensorDescriptorName(source ITensor, descriptor IPooling2DOpDescriptor, name string) Tensor
- func (g_ Graph) MaxPooling4DGradientWithGradientTensorSourceTensorDescriptorName(gradient ITensor, source ITensor, descriptor IPooling4DOpDescriptor, ...) Tensor
- func (g_ Graph) MaxPooling4DReturnIndicesWithSourceTensorDescriptorName(source ITensor, descriptor IPooling4DOpDescriptor, name string) []Tensor
- func (g_ Graph) MaxPooling4DWithSourceTensorDescriptorName(source ITensor, descriptor IPooling4DOpDescriptor, name string) Tensor
- func (g_ Graph) MaximumWithNaNPropagationWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) MaximumWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) MeanOfTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
- func (g_ Graph) MinimumWithNaNPropagationWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) MinimumWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) ModuloWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) MultiplicationWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) NegativeWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) NormalizationBetaGradientWithIncomingGradientTensorSourceTensorReductionAxesName(incomingGradientTensor ITensor, sourceTensor ITensor, ...) Tensor
- func (g_ Graph) NormalizationGammaGradientWithIncomingGradientTensorSourceTensorMeanTensorVarianceTensorReductionAxesEpsilonName(incomingGradientTensor ITensor, sourceTensor ITensor, meanTensor ITensor, ...) Tensor
- func (g_ Graph) NormalizationGradientWithIncomingGradientTensorSourceTensorMeanTensorVarianceTensorGammaTensorGammaGradientTensorBetaGradientTensorReductionAxesEpsilonName(incomingGradientTensor ITensor, sourceTensor ITensor, meanTensor ITensor, ...) Tensor
- func (g_ Graph) NormalizationWithTensorMeanTensorVarianceTensorGammaTensorBetaTensorEpsilonName(tensor ITensor, mean ITensor, variance ITensor, gamma ITensor, beta ITensor, ...) Tensor
- func (g_ Graph) NotEqualWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) NotWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) OneHotWithIndicesTensorDepthAxisDataTypeName(indicesTensor ITensor, depth uint, axis uint, dataType mps.DataType, ...) Tensor
- func (g_ Graph) OneHotWithIndicesTensorDepthAxisDataTypeOnValueOffValueName(indicesTensor ITensor, depth uint, axis uint, dataType mps.DataType, ...) Tensor
- func (g_ Graph) OneHotWithIndicesTensorDepthAxisName(indicesTensor ITensor, depth uint, axis uint, name string) Tensor
- func (g_ Graph) OneHotWithIndicesTensorDepthDataTypeName(indicesTensor ITensor, depth uint, dataType mps.DataType, name string) Tensor
- func (g_ Graph) OneHotWithIndicesTensorDepthDataTypeOnValueOffValueName(indicesTensor ITensor, depth uint, dataType mps.DataType, onValue float64, ...) Tensor
- func (g_ Graph) OneHotWithIndicesTensorDepthName(indicesTensor ITensor, depth uint, name string) Tensor
- func (g_ Graph) Options() Options
- func (g_ Graph) PadGradientWithIncomingGradientTensorSourceTensorPaddingModeLeftPaddingRightPaddingName(incomingGradientTensor ITensor, sourceTensor ITensor, paddingMode PaddingMode, ...) Tensor
- func (g_ Graph) PadTensorWithPaddingModeLeftPaddingRightPaddingConstantValueName(tensor ITensor, paddingMode PaddingMode, leftPadding *foundation.Array, ...) Tensor
- func (g_ Graph) PlaceholderTensors() []Tensor
- func (g_ Graph) PlaceholderWithShapeDataTypeName(shape *foundation.Array, dataType mps.DataType, name string) Tensor
- func (g_ Graph) PlaceholderWithShapeName(shape *foundation.Array, name string) Tensor
- func (g_ Graph) PowerWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) RandomPhiloxStateTensorWithCounterLowCounterHighKeyName(counterLow uint, counterHigh uint, key uint, name string) Tensor
- func (g_ Graph) RandomPhiloxStateTensorWithSeedName(seed uint, name string) Tensor
- func (g_ Graph) RandomTensorWithShapeDescriptorName(shape *foundation.Array, descriptor IRandomOpDescriptor, name string) Tensor
- func (g_ Graph) RandomTensorWithShapeDescriptorSeedName(shape *foundation.Array, descriptor IRandomOpDescriptor, seed uint, ...) Tensor
- func (g_ Graph) RandomTensorWithShapeDescriptorStateTensorName(shape *foundation.Array, descriptor IRandomOpDescriptor, state ITensor, ...) []Tensor
- func (g_ Graph) RandomTensorWithShapeTensorDescriptorName(shapeTensor ITensor, descriptor IRandomOpDescriptor, name string) Tensor
- func (g_ Graph) RandomTensorWithShapeTensorDescriptorSeedName(shapeTensor ITensor, descriptor IRandomOpDescriptor, seed uint, name string) Tensor
- func (g_ Graph) RandomTensorWithShapeTensorDescriptorStateTensorName(shapeTensor ITensor, descriptor IRandomOpDescriptor, state ITensor, ...) []Tensor
- func (g_ Graph) RandomUniformTensorWithShapeName(shape *foundation.Array, name string) Tensor
- func (g_ Graph) RandomUniformTensorWithShapeSeedName(shape *foundation.Array, seed uint, name string) Tensor
- func (g_ Graph) RandomUniformTensorWithShapeStateTensorName(shape *foundation.Array, state ITensor, name string) []Tensor
- func (g_ Graph) RandomUniformTensorWithShapeTensorName(shapeTensor ITensor, name string) Tensor
- func (g_ Graph) RandomUniformTensorWithShapeTensorSeedName(shapeTensor ITensor, seed uint, name string) Tensor
- func (g_ Graph) RandomUniformTensorWithShapeTensorStateTensorName(shapeTensor ITensor, state ITensor, name string) []Tensor
- func (g_ Graph) ReLUGradientWithIncomingGradientSourceTensorName(gradient ITensor, source ITensor, name string) Tensor
- func (g_ Graph) ReLUWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) ReadVariableName(variable ITensor, name string) Tensor
- func (g_ Graph) ReciprocalWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) ReductionAndWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
- func (g_ Graph) ReductionAndWithTensorAxisName(tensor ITensor, axis int, name string) Tensor
- func (g_ Graph) ReductionArgMaximumWithTensorAxisName(tensor ITensor, axis int, name string) Tensor
- func (g_ Graph) ReductionArgMinimumWithTensorAxisName(tensor ITensor, axis int, name string) Tensor
- func (g_ Graph) ReductionMaximumPropagateNaNWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
- func (g_ Graph) ReductionMaximumPropagateNaNWithTensorAxisName(tensor ITensor, axis int, name string) Tensor
- func (g_ Graph) ReductionMaximumWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
- func (g_ Graph) ReductionMaximumWithTensorAxisName(tensor ITensor, axis int, name string) Tensor
- func (g_ Graph) ReductionMinimumPropagateNaNWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
- func (g_ Graph) ReductionMinimumPropagateNaNWithTensorAxisName(tensor ITensor, axis int, name string) Tensor
- func (g_ Graph) ReductionMinimumWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
- func (g_ Graph) ReductionMinimumWithTensorAxisName(tensor ITensor, axis int, name string) Tensor
- func (g_ Graph) ReductionOrWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
- func (g_ Graph) ReductionOrWithTensorAxisName(tensor ITensor, axis int, name string) Tensor
- func (g_ Graph) ReductionProductWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
- func (g_ Graph) ReductionProductWithTensorAxisName(tensor ITensor, axis int, name string) Tensor
- func (g_ Graph) ReductionSumWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
- func (g_ Graph) ReductionSumWithTensorAxisName(tensor ITensor, axis int, name string) Tensor
- func (g_ Graph) ReshapeTensorWithShapeName(tensor ITensor, shape *foundation.Array, name string) Tensor
- func (g_ Graph) ReshapeTensorWithShapeTensorName(tensor ITensor, shapeTensor ITensor, name string) Tensor
- func (g_ Graph) ResizeTensorSizeModeCenterResultAlignCornersLayoutName(imagesTensor ITensor, size *foundation.Array, mode ResizeMode, ...) Tensor
- func (g_ Graph) ResizeTensorSizeTensorModeCenterResultAlignCornersLayoutName(imagesTensor ITensor, size ITensor, mode ResizeMode, centerResult bool, ...) Tensor
- func (g_ Graph) ResizeWithGradientTensorInputModeCenterResultAlignCornersLayoutName(gradient ITensor, input ITensor, mode ResizeMode, centerResult bool, ...) Tensor
- func (g_ Graph) ReverseSquareRootWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) ReverseTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
- func (g_ Graph) ReverseTensorAxesTensorName(tensor ITensor, axesTensor ITensor, name string) Tensor
- func (g_ Graph) ReverseTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) RintWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) RoundWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) RunAsyncWithFeedsTargetTensorsTargetOperationsExecutionDescriptor(feeds *foundation.Dictionary, targetTensors []ITensor, ...) *foundation.Dictionary
- func (g_ Graph) RunAsyncWithMTLCommandQueueFeedsTargetOperationsResultsDictionaryExecutionDescriptor(commandQueue metal.PCommandQueue, feeds *foundation.Dictionary, ...)
- func (g_ Graph) RunAsyncWithMTLCommandQueueFeedsTargetTensorsTargetOperationsExecutionDescriptor(commandQueue metal.PCommandQueue, feeds *foundation.Dictionary, ...) *foundation.Dictionary
- func (g_ Graph) RunAsyncWithMTLCommandQueueObjectFeedsTargetOperationsResultsDictionaryExecutionDescriptor(commandQueueObject objc.IObject, feeds *foundation.Dictionary, ...)
- func (g_ Graph) RunAsyncWithMTLCommandQueueObjectFeedsTargetTensorsTargetOperationsExecutionDescriptor(commandQueueObject objc.IObject, feeds *foundation.Dictionary, ...) *foundation.Dictionary
- func (g_ Graph) RunWithFeedsTargetTensorsTargetOperations(feeds *foundation.Dictionary, targetTensors []ITensor, ...) *foundation.Dictionary
- func (g_ Graph) RunWithMTLCommandQueueFeedsTargetOperationsResultsDictionary(commandQueue metal.PCommandQueue, feeds *foundation.Dictionary, ...)
- func (g_ Graph) RunWithMTLCommandQueueFeedsTargetTensorsTargetOperations(commandQueue metal.PCommandQueue, feeds *foundation.Dictionary, ...) *foundation.Dictionary
- func (g_ Graph) RunWithMTLCommandQueueObjectFeedsTargetOperationsResultsDictionary(commandQueueObject objc.IObject, feeds *foundation.Dictionary, ...)
- func (g_ Graph) RunWithMTLCommandQueueObjectFeedsTargetTensorsTargetOperations(commandQueueObject objc.IObject, feeds *foundation.Dictionary, ...) *foundation.Dictionary
- func (g_ Graph) ScatterAlongAxisTensorWithDataTensorUpdatesTensorIndicesTensorModeName(axisTensor ITensor, dataTensor ITensor, updatesTensor ITensor, ...) Tensor
- func (g_ Graph) ScatterAlongAxisTensorWithUpdatesTensorIndicesTensorShapeModeName(axisTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, ...) Tensor
- func (g_ Graph) ScatterAlongAxisWithDataTensorUpdatesTensorIndicesTensorModeName(axis int, dataTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, ...) Tensor
- func (g_ Graph) ScatterAlongAxisWithUpdatesTensorIndicesTensorShapeModeName(axis int, updatesTensor ITensor, indicesTensor ITensor, ...) Tensor
- func (g_ Graph) ScatterNDWithDataTensorUpdatesTensorIndicesTensorBatchDimensionsModeName(dataTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, ...) Tensor
- func (g_ Graph) ScatterNDWithUpdatesTensorIndicesTensorShapeBatchDimensionsModeName(updatesTensor ITensor, indicesTensor ITensor, shape *foundation.Array, ...) Tensor
- func (g_ Graph) ScatterNDWithUpdatesTensorIndicesTensorShapeBatchDimensionsName(updatesTensor ITensor, indicesTensor ITensor, shape *foundation.Array, ...) Tensor
- func (g_ Graph) ScatterWithDataTensorUpdatesTensorIndicesTensorAxisModeName(dataTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, axis int, ...) Tensor
- func (g_ Graph) ScatterWithUpdatesTensorIndicesTensorShapeAxisModeName(updatesTensor ITensor, indicesTensor ITensor, shape *foundation.Array, ...) Tensor
- func (g_ Graph) SelectWithPredicateTensorTruePredicateTensorFalsePredicateTensorName(predicateTensor ITensor, truePredicateTensor ITensor, ...) Tensor
- func (g_ Graph) SetOptions(value Options)
- func (g_ Graph) ShapeOfTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) SigmoidGradientWithIncomingGradientSourceTensorName(gradient ITensor, source ITensor, name string) Tensor
- func (g_ Graph) SigmoidWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) SignWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) SignbitWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) SinWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateInitStateDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, ...) []Tensor
- func (g_ Graph) SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateInputWeightBiasInitStateDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, ...) []Tensor
- func (g_ Graph) SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateInputWeightBiasInitStateMaskDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, ...) []Tensor
- func (g_ Graph) SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateStateGradientInputWeightBiasInitStateMaskDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, ...) []Tensor
- func (g_ Graph) SingleGateRNNWithSourceTensorRecurrentWeightInitStateDescriptorName(source ITensor, recurrentWeight ITensor, initState ITensor, ...) []Tensor
- func (g_ Graph) SingleGateRNNWithSourceTensorRecurrentWeightInputWeightBiasInitStateDescriptorName(source ITensor, recurrentWeight ITensor, inputWeight ITensor, bias ITensor, ...) []Tensor
- func (g_ Graph) SingleGateRNNWithSourceTensorRecurrentWeightInputWeightBiasInitStateMaskDescriptorName(source ITensor, recurrentWeight ITensor, inputWeight ITensor, bias ITensor, ...) []Tensor
- func (g_ Graph) SinhWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) SliceGradientTensorFwdInShapeTensorStartsEndsStridesName(inputGradientTensor ITensor, fwdInShapeTensor ITensor, ...) Tensor
- func (g_ Graph) SliceGradientTensorFwdInShapeTensorStartsEndsStridesStartMaskEndMaskSqueezeMaskName(inputGradientTensor ITensor, fwdInShapeTensor ITensor, ...) Tensor
- func (g_ Graph) SliceTensorDimensionStartLengthName(tensor ITensor, dimensionIndex uint, start int, length int, name string) Tensor
- func (g_ Graph) SliceTensorStartsEndsStridesName(tensor ITensor, starts []foundation.INumber, ends []foundation.INumber, ...) Tensor
- func (g_ Graph) SliceTensorStartsEndsStridesStartMaskEndMaskSqueezeMaskName(tensor ITensor, starts []foundation.INumber, ends []foundation.INumber, ...) Tensor
- func (g_ Graph) SoftMaxCrossEntropyGradientWithIncomingGradientTensorSourceTensorLabelsTensorAxisReductionTypeName(gradientTensor ITensor, sourceTensor ITensor, labelsTensor ITensor, axis int, ...) Tensor
- func (g_ Graph) SoftMaxCrossEntropyWithSourceTensorLabelsTensorAxisReductionTypeName(sourceTensor ITensor, labelsTensor ITensor, axis int, ...) Tensor
- func (g_ Graph) SoftMaxGradientWithIncomingGradientSourceTensorAxisName(gradient ITensor, source ITensor, axis int, name string) Tensor
- func (g_ Graph) SoftMaxWithTensorAxisName(tensor ITensor, axis int, name string) Tensor
- func (g_ Graph) SpaceToDepth2DTensorWidthAxisHeightAxisDepthAxisBlockSizeUsePixelShuffleOrderName(tensor ITensor, widthAxis uint, heightAxis uint, depthAxis uint, ...) Tensor
- func (g_ Graph) SpaceToDepth2DTensorWidthAxisTensorHeightAxisTensorDepthAxisTensorBlockSizeUsePixelShuffleOrderName(tensor ITensor, widthAxisTensor ITensor, heightAxisTensor ITensor, ...) Tensor
- func (g_ Graph) SparseTensorWithDescriptorTensorsShapeName(sparseDescriptor ICreateSparseOpDescriptor, inputTensorArray []ITensor, ...) Tensor
- func (g_ Graph) SparseTensorWithTypeTensorsShapeDataTypeName(sparseStorageType SparseStorageType, inputTensorArray []ITensor, ...) Tensor
- func (g_ Graph) SplitTensorNumSplitsAxisName(tensor ITensor, numSplits uint, axis int, name string) []Tensor
- func (g_ Graph) SplitTensorSplitSizesAxisName(tensor ITensor, splitSizes []foundation.INumber, axis int, name string) []Tensor
- func (g_ Graph) SplitTensorSplitSizesTensorAxisName(tensor ITensor, splitSizesTensor ITensor, axis int, name string) []Tensor
- func (g_ Graph) SquareRootWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) SquareWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) SqueezeTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
- func (g_ Graph) SqueezeTensorAxesTensorName(tensor ITensor, axesTensor ITensor, name string) Tensor
- func (g_ Graph) SqueezeTensorAxisName(tensor ITensor, axis int, name string) Tensor
- func (g_ Graph) SqueezeTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) StackTensorsAxisName(inputTensors []ITensor, axis int, name string) Tensor
- func (g_ Graph) StencilWithSourceTensorWeightsTensorDescriptorName(source ITensor, weights ITensor, descriptor IStencilOpDescriptor, name string) Tensor
- func (g_ Graph) StochasticGradientDescentWithLearningRateTensorValuesTensorGradientTensorName(learningRateTensor ITensor, valuesTensor ITensor, gradientTensor ITensor, ...) Tensor
- func (g_ Graph) SubtractionWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
- func (g_ Graph) TanWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) TanhWithTensorName(tensor ITensor, name string) Tensor
- func (g_ Graph) TileGradientWithIncomingGradientTensorSourceTensorWithMultiplierName(incomingGradientTensor ITensor, sourceTensor ITensor, ...) Tensor
- func (g_ Graph) TileTensorWithMultiplierName(tensor ITensor, multiplier *foundation.Array, name string) Tensor
- func (g_ Graph) TopKWithGradientTensorSourceKName(gradient ITensor, source ITensor, k uint, name string) Tensor
- func (g_ Graph) TopKWithGradientTensorSourceKTensorName(gradient ITensor, source ITensor, kTensor ITensor, name string) Tensor
- func (g_ Graph) TopKWithSourceTensorKName(source ITensor, k uint, name string) []Tensor
- func (g_ Graph) TopKWithSourceTensorKTensorName(source ITensor, kTensor ITensor, name string) []Tensor
- func (g_ Graph) TransposeTensorDimensionWithDimensionName(tensor ITensor, dimensionIndex uint, dimensionIndex2 uint, name string) Tensor
- func (g_ Graph) VariableWithDataShapeDataTypeName(data []byte, shape *foundation.Array, dataType mps.DataType, name string) Tensor
- func (g_ Graph) VarianceOfTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
- func (g_ Graph) VarianceOfTensorMeanTensorAxesName(tensor ITensor, meanTensor ITensor, axes []foundation.INumber, name string) Tensor
- func (g_ Graph) WhileWithInitialInputsBeforeAfterName(initialInputs []ITensor, before WhileBeforeBlock, after WhileAfterBlock, ...) []Tensor
- type ICompilationDescriptor
- type IConvolution2DOpDescriptor
- type ICreateSparseOpDescriptor
- type IDepthwiseConvolution2DOpDescriptor
- type IDepthwiseConvolution3DOpDescriptor
- type IDevice
- type IExecutable
- type IExecutableExecutionDescriptor
- type IExecutionDescriptor
- type IGraph
- type ILSTMDescriptor
- type IOperation
- type IPooling2DOpDescriptor
- type IPooling4DOpDescriptor
- type IRandomOpDescriptor
- type IShapedType
- type ISingleGateRNNDescriptor
- type IStencilOpDescriptor
- type ITensor
- type ITensorData
- type IType
- type IVariableOp
- type IfThenElseBlock
- type LSTMDescriptor
- func (l_ LSTMDescriptor) Activation() RNNActivation
- func (l_ LSTMDescriptor) Bidirectional() bool
- func (l_ LSTMDescriptor) CellGateActivation() RNNActivation
- func (l_ LSTMDescriptor) ForgetGateActivation() RNNActivation
- func (l_ LSTMDescriptor) ForgetGateLast() bool
- func (l_ LSTMDescriptor) Init() LSTMDescriptor
- func (l_ LSTMDescriptor) InputGateActivation() RNNActivation
- func (l_ LSTMDescriptor) OutputGateActivation() RNNActivation
- func (l_ LSTMDescriptor) ProduceCell() bool
- func (l_ LSTMDescriptor) Reverse() bool
- func (l_ LSTMDescriptor) SetActivation(value RNNActivation)
- func (l_ LSTMDescriptor) SetBidirectional(value bool)
- func (l_ LSTMDescriptor) SetCellGateActivation(value RNNActivation)
- func (l_ LSTMDescriptor) SetForgetGateActivation(value RNNActivation)
- func (l_ LSTMDescriptor) SetForgetGateLast(value bool)
- func (l_ LSTMDescriptor) SetInputGateActivation(value RNNActivation)
- func (l_ LSTMDescriptor) SetOutputGateActivation(value RNNActivation)
- func (l_ LSTMDescriptor) SetProduceCell(value bool)
- func (l_ LSTMDescriptor) SetReverse(value bool)
- func (l_ LSTMDescriptor) SetTraining(value bool)
- func (l_ LSTMDescriptor) Training() bool
- type LossReductionType
- type Operation
- type Optimization
- type OptimizationProfile
- type Options
- type PaddingMode
- type PaddingStyle
- type Pooling2DOpDescriptor
- func NewPooling2DOpDescriptor() Pooling2DOpDescriptor
- func Pooling2DOpDescriptorFrom(ptr unsafe.Pointer) Pooling2DOpDescriptor
- func Pooling2DOpDescriptor_DescriptorWithKernelWidthKernelHeightStrideInXStrideInYDilationRateInXDilationRateInYPaddingLeftPaddingRightPaddingTopPaddingBottomPaddingStyleDataLayout(kernelWidth uint, kernelHeight uint, strideInX uint, strideInY uint, ...) Pooling2DOpDescriptor
- func Pooling2DOpDescriptor_DescriptorWithKernelWidthKernelHeightStrideInXStrideInYPaddingStyleDataLayout(kernelWidth uint, kernelHeight uint, strideInX uint, strideInY uint, ...) Pooling2DOpDescriptor
- func (p_ Pooling2DOpDescriptor) CeilMode() bool
- func (p_ Pooling2DOpDescriptor) DataLayout() TensorNamedDataLayout
- func (p_ Pooling2DOpDescriptor) DilationRateInX() uint
- func (p_ Pooling2DOpDescriptor) DilationRateInY() uint
- func (p_ Pooling2DOpDescriptor) IncludeZeroPadToAverage() bool
- func (p_ Pooling2DOpDescriptor) Init() Pooling2DOpDescriptor
- func (p_ Pooling2DOpDescriptor) KernelHeight() uint
- func (p_ Pooling2DOpDescriptor) KernelWidth() uint
- func (p_ Pooling2DOpDescriptor) PaddingBottom() uint
- func (p_ Pooling2DOpDescriptor) PaddingLeft() uint
- func (p_ Pooling2DOpDescriptor) PaddingRight() uint
- func (p_ Pooling2DOpDescriptor) PaddingStyle() PaddingStyle
- func (p_ Pooling2DOpDescriptor) PaddingTop() uint
- func (p_ Pooling2DOpDescriptor) ReturnIndicesDataType() mps.DataType
- func (p_ Pooling2DOpDescriptor) ReturnIndicesMode() PoolingReturnIndicesMode
- func (p_ Pooling2DOpDescriptor) SetCeilMode(value bool)
- func (p_ Pooling2DOpDescriptor) SetDataLayout(value TensorNamedDataLayout)
- func (p_ Pooling2DOpDescriptor) SetDilationRateInX(value uint)
- func (p_ Pooling2DOpDescriptor) SetDilationRateInY(value uint)
- func (p_ Pooling2DOpDescriptor) SetExplicitPaddingWithPaddingLeftPaddingRightPaddingTopPaddingBottom(paddingLeft uint, paddingRight uint, paddingTop uint, paddingBottom uint)
- func (p_ Pooling2DOpDescriptor) SetIncludeZeroPadToAverage(value bool)
- func (p_ Pooling2DOpDescriptor) SetKernelHeight(value uint)
- func (p_ Pooling2DOpDescriptor) SetKernelWidth(value uint)
- func (p_ Pooling2DOpDescriptor) SetPaddingBottom(value uint)
- func (p_ Pooling2DOpDescriptor) SetPaddingLeft(value uint)
- func (p_ Pooling2DOpDescriptor) SetPaddingRight(value uint)
- func (p_ Pooling2DOpDescriptor) SetPaddingStyle(value PaddingStyle)
- func (p_ Pooling2DOpDescriptor) SetPaddingTop(value uint)
- func (p_ Pooling2DOpDescriptor) SetReturnIndicesDataType(value mps.DataType)
- func (p_ Pooling2DOpDescriptor) SetReturnIndicesMode(value PoolingReturnIndicesMode)
- func (p_ Pooling2DOpDescriptor) SetStrideInX(value uint)
- func (p_ Pooling2DOpDescriptor) SetStrideInY(value uint)
- func (p_ Pooling2DOpDescriptor) StrideInX() uint
- func (p_ Pooling2DOpDescriptor) StrideInY() uint
- type Pooling4DOpDescriptor
- func NewPooling4DOpDescriptor() Pooling4DOpDescriptor
- func Pooling4DOpDescriptorFrom(ptr unsafe.Pointer) Pooling4DOpDescriptor
- func Pooling4DOpDescriptor_DescriptorWithKernelSizesPaddingStyle(kernelSizes []foundation.INumber, paddingStyle PaddingStyle) Pooling4DOpDescriptor
- func Pooling4DOpDescriptor_DescriptorWithKernelSizesStridesDilationRatesPaddingValuesPaddingStyle(kernelSizes []foundation.INumber, strides []foundation.INumber, ...) Pooling4DOpDescriptor
- func (p_ Pooling4DOpDescriptor) CeilMode() bool
- func (p_ Pooling4DOpDescriptor) DilationRates() []foundation.Number
- func (p_ Pooling4DOpDescriptor) IncludeZeroPadToAverage() bool
- func (p_ Pooling4DOpDescriptor) Init() Pooling4DOpDescriptor
- func (p_ Pooling4DOpDescriptor) KernelSizes() []foundation.Number
- func (p_ Pooling4DOpDescriptor) PaddingStyle() PaddingStyle
- func (p_ Pooling4DOpDescriptor) PaddingValues() []foundation.Number
- func (p_ Pooling4DOpDescriptor) ReturnIndicesDataType() mps.DataType
- func (p_ Pooling4DOpDescriptor) ReturnIndicesMode() PoolingReturnIndicesMode
- func (p_ Pooling4DOpDescriptor) SetCeilMode(value bool)
- func (p_ Pooling4DOpDescriptor) SetDilationRates(value []foundation.INumber)
- func (p_ Pooling4DOpDescriptor) SetIncludeZeroPadToAverage(value bool)
- func (p_ Pooling4DOpDescriptor) SetKernelSizes(value []foundation.INumber)
- func (p_ Pooling4DOpDescriptor) SetPaddingStyle(value PaddingStyle)
- func (p_ Pooling4DOpDescriptor) SetPaddingValues(value []foundation.INumber)
- func (p_ Pooling4DOpDescriptor) SetReturnIndicesDataType(value mps.DataType)
- func (p_ Pooling4DOpDescriptor) SetReturnIndicesMode(value PoolingReturnIndicesMode)
- func (p_ Pooling4DOpDescriptor) SetStrides(value []foundation.INumber)
- func (p_ Pooling4DOpDescriptor) Strides() []foundation.Number
- type PoolingReturnIndicesMode
- type RNNActivation
- type RandomDistribution
- type RandomNormalSamplingMethod
- type RandomOpDescriptor
- func (r_ RandomOpDescriptor) DataType() mps.DataType
- func (r_ RandomOpDescriptor) Distribution() RandomDistribution
- func (r_ RandomOpDescriptor) Init() RandomOpDescriptor
- func (r_ RandomOpDescriptor) Max() float64
- func (r_ RandomOpDescriptor) MaxInteger() int
- func (r_ RandomOpDescriptor) Mean() float64
- func (r_ RandomOpDescriptor) Min() float64
- func (r_ RandomOpDescriptor) MinInteger() int
- func (r_ RandomOpDescriptor) SamplingMethod() RandomNormalSamplingMethod
- func (r_ RandomOpDescriptor) SetDataType(value mps.DataType)
- func (r_ RandomOpDescriptor) SetDistribution(value RandomDistribution)
- func (r_ RandomOpDescriptor) SetMax(value float64)
- func (r_ RandomOpDescriptor) SetMaxInteger(value int)
- func (r_ RandomOpDescriptor) SetMean(value float64)
- func (r_ RandomOpDescriptor) SetMin(value float64)
- func (r_ RandomOpDescriptor) SetMinInteger(value int)
- func (r_ RandomOpDescriptor) SetSamplingMethod(value RandomNormalSamplingMethod)
- func (r_ RandomOpDescriptor) SetStandardDeviation(value float64)
- func (r_ RandomOpDescriptor) StandardDeviation() float64
- type ReductionMode
- type ResizeMode
- type ScatterMode
- type ScheduledHandler
- type ShapedType
- func (s_ ShapedType) DataType() mps.DataType
- func (s_ ShapedType) Init() ShapedType
- func (s_ ShapedType) InitWithShapeDataType(shape *foundation.Array, dataType mps.DataType) ShapedType
- func (s_ ShapedType) IsEqualTo(object IShapedType) bool
- func (s_ ShapedType) SetDataType(value mps.DataType)
- func (s_ ShapedType) SetShape(value *foundation.Array)
- func (s_ ShapedType) Shape() *foundation.Array
- type SingleGateRNNDescriptor
- func (s_ SingleGateRNNDescriptor) Activation() RNNActivation
- func (s_ SingleGateRNNDescriptor) Bidirectional() bool
- func (s_ SingleGateRNNDescriptor) Init() SingleGateRNNDescriptor
- func (s_ SingleGateRNNDescriptor) Reverse() bool
- func (s_ SingleGateRNNDescriptor) SetActivation(value RNNActivation)
- func (s_ SingleGateRNNDescriptor) SetBidirectional(value bool)
- func (s_ SingleGateRNNDescriptor) SetReverse(value bool)
- func (s_ SingleGateRNNDescriptor) SetTraining(value bool)
- func (s_ SingleGateRNNDescriptor) Training() bool
- type SparseStorageType
- type StencilOpDescriptor
- func NewStencilOpDescriptor() StencilOpDescriptor
- func StencilOpDescriptorFrom(ptr unsafe.Pointer) StencilOpDescriptor
- func StencilOpDescriptor_DescriptorWithExplicitPadding(explicitPadding *foundation.Array) StencilOpDescriptor
- func StencilOpDescriptor_DescriptorWithOffsetsExplicitPadding(offsets *foundation.Array, explicitPadding *foundation.Array) StencilOpDescriptor
- func StencilOpDescriptor_DescriptorWithPaddingStyle(paddingStyle PaddingStyle) StencilOpDescriptor
- func StencilOpDescriptor_DescriptorWithReductionModeOffsetsStridesDilationRatesExplicitPaddingBoundaryModePaddingStylePaddingConstant(reductionMode ReductionMode, offsets *foundation.Array, ...) StencilOpDescriptor
- func (s_ StencilOpDescriptor) BoundaryMode() PaddingMode
- func (s_ StencilOpDescriptor) DilationRates() *foundation.Array
- func (s_ StencilOpDescriptor) ExplicitPadding() *foundation.Array
- func (s_ StencilOpDescriptor) Init() StencilOpDescriptor
- func (s_ StencilOpDescriptor) Offsets() *foundation.Array
- func (s_ StencilOpDescriptor) PaddingConstant() float64
- func (s_ StencilOpDescriptor) PaddingStyle() PaddingStyle
- func (s_ StencilOpDescriptor) ReductionMode() ReductionMode
- func (s_ StencilOpDescriptor) SetBoundaryMode(value PaddingMode)
- func (s_ StencilOpDescriptor) SetDilationRates(value *foundation.Array)
- func (s_ StencilOpDescriptor) SetExplicitPadding(value *foundation.Array)
- func (s_ StencilOpDescriptor) SetOffsets(value *foundation.Array)
- func (s_ StencilOpDescriptor) SetPaddingConstant(value float64)
- func (s_ StencilOpDescriptor) SetPaddingStyle(value PaddingStyle)
- func (s_ StencilOpDescriptor) SetReductionMode(value ReductionMode)
- func (s_ StencilOpDescriptor) SetStrides(value *foundation.Array)
- func (s_ StencilOpDescriptor) Strides() *foundation.Array
- type Tensor
- type TensorData
- func NewTensorData() TensorData
- func NewTensorDataWithDeviceDataShapeDataType(device IDevice, data []byte, shape *foundation.Array, dataType mps.DataType) TensorData
- func NewTensorDataWithMPSImageBatch(imageBatch *foundation.Array) TensorData
- func NewTensorDataWithMPSMatrix(matrix mps.IMatrix) TensorData
- func NewTensorDataWithMPSMatrixRank(matrix mps.IMatrix, rank uint) TensorData
- func NewTensorDataWithMPSNDArray(ndarray mps.INDArray) TensorData
- func NewTensorDataWithMPSVector(vector mps.IVector) TensorData
- func NewTensorDataWithMPSVectorRank(vector mps.IVector, rank uint) TensorData
- func NewTensorDataWithMTLBufferShapeDataType(buffer metal.PBuffer, shape *foundation.Array, dataType mps.DataType) TensorData
- func NewTensorDataWithMTLBufferShapeDataTypeRowBytes(buffer metal.PBuffer, shape *foundation.Array, dataType mps.DataType, ...) TensorData
- func TensorDataFrom(ptr unsafe.Pointer) TensorData
- func (t_ TensorData) DataType() mps.DataType
- func (t_ TensorData) Device() Device
- func (t_ TensorData) Init() TensorData
- func (t_ TensorData) InitWithDeviceDataShapeDataType(device IDevice, data []byte, shape *foundation.Array, dataType mps.DataType) TensorData
- func (t_ TensorData) InitWithMPSImageBatch(imageBatch *foundation.Array) TensorData
- func (t_ TensorData) InitWithMPSMatrix(matrix mps.IMatrix) TensorData
- func (t_ TensorData) InitWithMPSMatrixRank(matrix mps.IMatrix, rank uint) TensorData
- func (t_ TensorData) InitWithMPSNDArray(ndarray mps.INDArray) TensorData
- func (t_ TensorData) InitWithMPSVector(vector mps.IVector) TensorData
- func (t_ TensorData) InitWithMPSVectorRank(vector mps.IVector, rank uint) TensorData
- func (t_ TensorData) InitWithMTLBufferShapeDataType(buffer metal.PBuffer, shape *foundation.Array, dataType mps.DataType) TensorData
- func (t_ TensorData) InitWithMTLBufferShapeDataTypeRowBytes(buffer metal.PBuffer, shape *foundation.Array, dataType mps.DataType, ...) TensorData
- func (t_ TensorData) Mpsndarray() mps.NDArray
- func (t_ TensorData) Shape() *foundation.Array
- type TensorNamedDataLayout
- type Type
- type VariableOp
- type WhileAfterBlock
- type WhileBeforeBlock
Constants ¶
This section is empty.
Variables ¶
var CompilationDescriptorClass = _CompilationDescriptorClass{objc.GetClass("MPSGraphCompilationDescriptor")}
The class instance for the CompilationDescriptor class.
var Convolution2DOpDescriptorClass = _Convolution2DOpDescriptorClass{objc.GetClass("MPSGraphConvolution2DOpDescriptor")}
The class instance for the Convolution2DOpDescriptor class.
var CreateSparseOpDescriptorClass = _CreateSparseOpDescriptorClass{objc.GetClass("MPSGraphCreateSparseOpDescriptor")}
The class instance for the CreateSparseOpDescriptor class.
var DepthwiseConvolution2DOpDescriptorClass = _DepthwiseConvolution2DOpDescriptorClass{objc.GetClass("MPSGraphDepthwiseConvolution2DOpDescriptor")}
The class instance for the DepthwiseConvolution2DOpDescriptor class.
var DepthwiseConvolution3DOpDescriptorClass = _DepthwiseConvolution3DOpDescriptorClass{objc.GetClass("MPSGraphDepthwiseConvolution3DOpDescriptor")}
The class instance for the DepthwiseConvolution3DOpDescriptor class.
var DeviceClass = _DeviceClass{objc.GetClass("MPSGraphDevice")}
The class instance for the Device class.
var ExecutableClass = _ExecutableClass{objc.GetClass("MPSGraphExecutable")}
The class instance for the Executable class.
var ExecutableExecutionDescriptorClass = _ExecutableExecutionDescriptorClass{objc.GetClass("MPSGraphExecutableExecutionDescriptor")}
The class instance for the ExecutableExecutionDescriptor class.
var ExecutionDescriptorClass = _ExecutionDescriptorClass{objc.GetClass("MPSGraphExecutionDescriptor")}
The class instance for the ExecutionDescriptor class.
var GraphClass = _GraphClass{objc.GetClass("MPSGraph")}
The class instance for the Graph class.
var LSTMDescriptorClass = _LSTMDescriptorClass{objc.GetClass("MPSGraphLSTMDescriptor")}
The class instance for the LSTMDescriptor class.
var OperationClass = _OperationClass{objc.GetClass("MPSGraphOperation")}
The class instance for the Operation class.
var Pooling2DOpDescriptorClass = _Pooling2DOpDescriptorClass{objc.GetClass("MPSGraphPooling2DOpDescriptor")}
The class instance for the Pooling2DOpDescriptor class.
var Pooling4DOpDescriptorClass = _Pooling4DOpDescriptorClass{objc.GetClass("MPSGraphPooling4DOpDescriptor")}
The class instance for the Pooling4DOpDescriptor class.
var RandomOpDescriptorClass = _RandomOpDescriptorClass{objc.GetClass("MPSGraphRandomOpDescriptor")}
The class instance for the RandomOpDescriptor class.
var ShapedTypeClass = _ShapedTypeClass{objc.GetClass("MPSGraphShapedType")}
The class instance for the ShapedType class.
var SingleGateRNNDescriptorClass = _SingleGateRNNDescriptorClass{objc.GetClass("MPSGraphSingleGateRNNDescriptor")}
The class instance for the SingleGateRNNDescriptor class.
var StencilOpDescriptorClass = _StencilOpDescriptorClass{objc.GetClass("MPSGraphStencilOpDescriptor")}
The class instance for the StencilOpDescriptor class.
var TensorClass = _TensorClass{objc.GetClass("MPSGraphTensor")}
The class instance for the Tensor class.
var TensorDataClass = _TensorDataClass{objc.GetClass("MPSGraphTensorData")}
The class instance for the TensorData class.
var TypeClass = _TypeClass{objc.GetClass("MPSGraphType")}
The class instance for the Type class.
var VariableOpClass = _VariableOpClass{objc.GetClass("MPSGraphVariableOp")}
The class instance for the VariableOp class.
Functions ¶
This section is empty.
Types ¶
type CompilationDescriptor ¶
[Full Topic]
func CompilationDescriptorFrom ¶
func CompilationDescriptorFrom(ptr unsafe.Pointer) CompilationDescriptor
func NewCompilationDescriptor ¶
func NewCompilationDescriptor() CompilationDescriptor
func (CompilationDescriptor) DisableTypeInference ¶
func (c_ CompilationDescriptor) DisableTypeInference()
[Full Topic]
func (CompilationDescriptor) Init ¶
func (c_ CompilationDescriptor) Init() CompilationDescriptor
func (CompilationDescriptor) OptimizationLevel ¶
func (c_ CompilationDescriptor) OptimizationLevel() Optimization
[Full Topic]
func (CompilationDescriptor) SetOptimizationLevel ¶
func (c_ CompilationDescriptor) SetOptimizationLevel(value Optimization)
[Full Topic]
type CompletionHandler ¶
type CompletionHandler = func(resultsDictionary *foundation.Dictionary, error foundation.Error)
[Full Topic]
type Convolution2DOpDescriptor ¶
[Full Topic]
func Convolution2DOpDescriptorFrom ¶
func Convolution2DOpDescriptorFrom(ptr unsafe.Pointer) Convolution2DOpDescriptor
func Convolution2DOpDescriptor_DescriptorWithStrideInXStrideInYDilationRateInXDilationRateInYGroupsPaddingLeftPaddingRightPaddingTopPaddingBottomPaddingStyleDataLayoutWeightsLayout ¶
func Convolution2DOpDescriptor_DescriptorWithStrideInXStrideInYDilationRateInXDilationRateInYGroupsPaddingLeftPaddingRightPaddingTopPaddingBottomPaddingStyleDataLayoutWeightsLayout(strideInX uint, strideInY uint, dilationRateInX uint, dilationRateInY uint, groups uint, paddingLeft uint, paddingRight uint, paddingTop uint, paddingBottom uint, paddingStyle PaddingStyle, dataLayout TensorNamedDataLayout, weightsLayout TensorNamedDataLayout) Convolution2DOpDescriptor
[Full Topic]
func Convolution2DOpDescriptor_DescriptorWithStrideInXStrideInYDilationRateInXDilationRateInYGroupsPaddingStyleDataLayoutWeightsLayout ¶
func Convolution2DOpDescriptor_DescriptorWithStrideInXStrideInYDilationRateInXDilationRateInYGroupsPaddingStyleDataLayoutWeightsLayout(strideInX uint, strideInY uint, dilationRateInX uint, dilationRateInY uint, groups uint, paddingStyle PaddingStyle, dataLayout TensorNamedDataLayout, weightsLayout TensorNamedDataLayout) Convolution2DOpDescriptor
[Full Topic]
func NewConvolution2DOpDescriptor ¶
func NewConvolution2DOpDescriptor() Convolution2DOpDescriptor
func (Convolution2DOpDescriptor) DataLayout ¶
func (c_ Convolution2DOpDescriptor) DataLayout() TensorNamedDataLayout
[Full Topic]
func (Convolution2DOpDescriptor) DilationRateInX ¶
func (c_ Convolution2DOpDescriptor) DilationRateInX() uint
[Full Topic]
func (Convolution2DOpDescriptor) DilationRateInY ¶
func (c_ Convolution2DOpDescriptor) DilationRateInY() uint
[Full Topic]
func (Convolution2DOpDescriptor) Groups ¶
func (c_ Convolution2DOpDescriptor) Groups() uint
[Full Topic]
func (Convolution2DOpDescriptor) Init ¶
func (c_ Convolution2DOpDescriptor) Init() Convolution2DOpDescriptor
func (Convolution2DOpDescriptor) PaddingBottom ¶
func (c_ Convolution2DOpDescriptor) PaddingBottom() uint
[Full Topic]
func (Convolution2DOpDescriptor) PaddingLeft ¶
func (c_ Convolution2DOpDescriptor) PaddingLeft() uint
[Full Topic]
func (Convolution2DOpDescriptor) PaddingRight ¶
func (c_ Convolution2DOpDescriptor) PaddingRight() uint
[Full Topic]
func (Convolution2DOpDescriptor) PaddingStyle ¶
func (c_ Convolution2DOpDescriptor) PaddingStyle() PaddingStyle
[Full Topic]
func (Convolution2DOpDescriptor) PaddingTop ¶
func (c_ Convolution2DOpDescriptor) PaddingTop() uint
[Full Topic]
func (Convolution2DOpDescriptor) SetDataLayout ¶
func (c_ Convolution2DOpDescriptor) SetDataLayout(value TensorNamedDataLayout)
[Full Topic]
func (Convolution2DOpDescriptor) SetDilationRateInX ¶
func (c_ Convolution2DOpDescriptor) SetDilationRateInX(value uint)
[Full Topic]
func (Convolution2DOpDescriptor) SetDilationRateInY ¶
func (c_ Convolution2DOpDescriptor) SetDilationRateInY(value uint)
[Full Topic]
func (Convolution2DOpDescriptor) SetExplicitPaddingWithPaddingLeftPaddingRightPaddingTopPaddingBottom ¶
func (c_ Convolution2DOpDescriptor) SetExplicitPaddingWithPaddingLeftPaddingRightPaddingTopPaddingBottom(paddingLeft uint, paddingRight uint, paddingTop uint, paddingBottom uint)
[Full Topic]
func (Convolution2DOpDescriptor) SetGroups ¶
func (c_ Convolution2DOpDescriptor) SetGroups(value uint)
[Full Topic]
func (Convolution2DOpDescriptor) SetPaddingBottom ¶
func (c_ Convolution2DOpDescriptor) SetPaddingBottom(value uint)
[Full Topic]
func (Convolution2DOpDescriptor) SetPaddingLeft ¶
func (c_ Convolution2DOpDescriptor) SetPaddingLeft(value uint)
[Full Topic]
func (Convolution2DOpDescriptor) SetPaddingRight ¶
func (c_ Convolution2DOpDescriptor) SetPaddingRight(value uint)
[Full Topic]
func (Convolution2DOpDescriptor) SetPaddingStyle ¶
func (c_ Convolution2DOpDescriptor) SetPaddingStyle(value PaddingStyle)
[Full Topic]
func (Convolution2DOpDescriptor) SetPaddingTop ¶
func (c_ Convolution2DOpDescriptor) SetPaddingTop(value uint)
[Full Topic]
func (Convolution2DOpDescriptor) SetStrideInX ¶
func (c_ Convolution2DOpDescriptor) SetStrideInX(value uint)
[Full Topic]
func (Convolution2DOpDescriptor) SetStrideInY ¶
func (c_ Convolution2DOpDescriptor) SetStrideInY(value uint)
[Full Topic]
func (Convolution2DOpDescriptor) SetWeightsLayout ¶
func (c_ Convolution2DOpDescriptor) SetWeightsLayout(value TensorNamedDataLayout)
[Full Topic]
func (Convolution2DOpDescriptor) StrideInX ¶
func (c_ Convolution2DOpDescriptor) StrideInX() uint
[Full Topic]
func (Convolution2DOpDescriptor) StrideInY ¶
func (c_ Convolution2DOpDescriptor) StrideInY() uint
[Full Topic]
func (Convolution2DOpDescriptor) WeightsLayout ¶
func (c_ Convolution2DOpDescriptor) WeightsLayout() TensorNamedDataLayout
[Full Topic]
type CreateSparseOpDescriptor ¶
[Full Topic]
func CreateSparseOpDescriptorFrom ¶
func CreateSparseOpDescriptorFrom(ptr unsafe.Pointer) CreateSparseOpDescriptor
func CreateSparseOpDescriptor_DescriptorWithStorageTypeDataType ¶
func CreateSparseOpDescriptor_DescriptorWithStorageTypeDataType(sparseStorageType SparseStorageType, dataType mps.DataType) CreateSparseOpDescriptor
[Full Topic]
func NewCreateSparseOpDescriptor ¶
func NewCreateSparseOpDescriptor() CreateSparseOpDescriptor
func (CreateSparseOpDescriptor) DataType ¶
func (c_ CreateSparseOpDescriptor) DataType() mps.DataType
[Full Topic]
func (CreateSparseOpDescriptor) Init ¶
func (c_ CreateSparseOpDescriptor) Init() CreateSparseOpDescriptor
func (CreateSparseOpDescriptor) SetDataType ¶
func (c_ CreateSparseOpDescriptor) SetDataType(value mps.DataType)
[Full Topic]
func (CreateSparseOpDescriptor) SetSparseStorageType ¶
func (c_ CreateSparseOpDescriptor) SetSparseStorageType(value SparseStorageType)
[Full Topic]
func (CreateSparseOpDescriptor) SparseStorageType ¶
func (c_ CreateSparseOpDescriptor) SparseStorageType() SparseStorageType
[Full Topic]
type DepthwiseConvolution2DOpDescriptor ¶
[Full Topic]
func DepthwiseConvolution2DOpDescriptorFrom ¶
func DepthwiseConvolution2DOpDescriptorFrom(ptr unsafe.Pointer) DepthwiseConvolution2DOpDescriptor
func DepthwiseConvolution2DOpDescriptor_DescriptorWithDataLayoutWeightsLayout ¶
func DepthwiseConvolution2DOpDescriptor_DescriptorWithDataLayoutWeightsLayout(dataLayout TensorNamedDataLayout, weightsLayout TensorNamedDataLayout) DepthwiseConvolution2DOpDescriptor
[Full Topic]
func DepthwiseConvolution2DOpDescriptor_DescriptorWithStrideInXStrideInYDilationRateInXDilationRateInYPaddingLeftPaddingRightPaddingTopPaddingBottomPaddingStyleDataLayoutWeightsLayout ¶
func DepthwiseConvolution2DOpDescriptor_DescriptorWithStrideInXStrideInYDilationRateInXDilationRateInYPaddingLeftPaddingRightPaddingTopPaddingBottomPaddingStyleDataLayoutWeightsLayout(strideInX uint, strideInY uint, dilationRateInX uint, dilationRateInY uint, paddingLeft uint, paddingRight uint, paddingTop uint, paddingBottom uint, paddingStyle PaddingStyle, dataLayout TensorNamedDataLayout, weightsLayout TensorNamedDataLayout) DepthwiseConvolution2DOpDescriptor
[Full Topic]
func NewDepthwiseConvolution2DOpDescriptor ¶
func NewDepthwiseConvolution2DOpDescriptor() DepthwiseConvolution2DOpDescriptor
func (DepthwiseConvolution2DOpDescriptor) DataLayout ¶
func (d_ DepthwiseConvolution2DOpDescriptor) DataLayout() TensorNamedDataLayout
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) DilationRateInX ¶
func (d_ DepthwiseConvolution2DOpDescriptor) DilationRateInX() uint
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) DilationRateInY ¶
func (d_ DepthwiseConvolution2DOpDescriptor) DilationRateInY() uint
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) Init ¶
func (d_ DepthwiseConvolution2DOpDescriptor) Init() DepthwiseConvolution2DOpDescriptor
func (DepthwiseConvolution2DOpDescriptor) PaddingBottom ¶
func (d_ DepthwiseConvolution2DOpDescriptor) PaddingBottom() uint
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) PaddingLeft ¶
func (d_ DepthwiseConvolution2DOpDescriptor) PaddingLeft() uint
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) PaddingRight ¶
func (d_ DepthwiseConvolution2DOpDescriptor) PaddingRight() uint
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) PaddingStyle ¶
func (d_ DepthwiseConvolution2DOpDescriptor) PaddingStyle() PaddingStyle
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) PaddingTop ¶
func (d_ DepthwiseConvolution2DOpDescriptor) PaddingTop() uint
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) SetDataLayout ¶
func (d_ DepthwiseConvolution2DOpDescriptor) SetDataLayout(value TensorNamedDataLayout)
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) SetDilationRateInX ¶
func (d_ DepthwiseConvolution2DOpDescriptor) SetDilationRateInX(value uint)
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) SetDilationRateInY ¶
func (d_ DepthwiseConvolution2DOpDescriptor) SetDilationRateInY(value uint)
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) SetExplicitPaddingWithPaddingLeftPaddingRightPaddingTopPaddingBottom ¶
func (d_ DepthwiseConvolution2DOpDescriptor) SetExplicitPaddingWithPaddingLeftPaddingRightPaddingTopPaddingBottom(paddingLeft uint, paddingRight uint, paddingTop uint, paddingBottom uint)
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) SetPaddingBottom ¶
func (d_ DepthwiseConvolution2DOpDescriptor) SetPaddingBottom(value uint)
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) SetPaddingLeft ¶
func (d_ DepthwiseConvolution2DOpDescriptor) SetPaddingLeft(value uint)
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) SetPaddingRight ¶
func (d_ DepthwiseConvolution2DOpDescriptor) SetPaddingRight(value uint)
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) SetPaddingStyle ¶
func (d_ DepthwiseConvolution2DOpDescriptor) SetPaddingStyle(value PaddingStyle)
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) SetPaddingTop ¶
func (d_ DepthwiseConvolution2DOpDescriptor) SetPaddingTop(value uint)
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) SetStrideInX ¶
func (d_ DepthwiseConvolution2DOpDescriptor) SetStrideInX(value uint)
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) SetStrideInY ¶
func (d_ DepthwiseConvolution2DOpDescriptor) SetStrideInY(value uint)
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) SetWeightsLayout ¶
func (d_ DepthwiseConvolution2DOpDescriptor) SetWeightsLayout(value TensorNamedDataLayout)
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) StrideInX ¶
func (d_ DepthwiseConvolution2DOpDescriptor) StrideInX() uint
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) StrideInY ¶
func (d_ DepthwiseConvolution2DOpDescriptor) StrideInY() uint
[Full Topic]
func (DepthwiseConvolution2DOpDescriptor) WeightsLayout ¶
func (d_ DepthwiseConvolution2DOpDescriptor) WeightsLayout() TensorNamedDataLayout
[Full Topic]
type DepthwiseConvolution3DOpDescriptor ¶
[Full Topic]
func DepthwiseConvolution3DOpDescriptorFrom ¶
func DepthwiseConvolution3DOpDescriptorFrom(ptr unsafe.Pointer) DepthwiseConvolution3DOpDescriptor
func DepthwiseConvolution3DOpDescriptor_DescriptorWithPaddingStyle ¶
func DepthwiseConvolution3DOpDescriptor_DescriptorWithPaddingStyle(paddingStyle PaddingStyle) DepthwiseConvolution3DOpDescriptor
[Full Topic]
func DepthwiseConvolution3DOpDescriptor_DescriptorWithStridesDilationRatesPaddingValuesPaddingStyle ¶
func DepthwiseConvolution3DOpDescriptor_DescriptorWithStridesDilationRatesPaddingValuesPaddingStyle(strides []foundation.INumber, dilationRates []foundation.INumber, paddingValues []foundation.INumber, paddingStyle PaddingStyle) DepthwiseConvolution3DOpDescriptor
[Full Topic]
func NewDepthwiseConvolution3DOpDescriptor ¶
func NewDepthwiseConvolution3DOpDescriptor() DepthwiseConvolution3DOpDescriptor
func (DepthwiseConvolution3DOpDescriptor) ChannelDimensionIndex ¶
func (d_ DepthwiseConvolution3DOpDescriptor) ChannelDimensionIndex() int
[Full Topic]
func (DepthwiseConvolution3DOpDescriptor) DilationRates ¶
func (d_ DepthwiseConvolution3DOpDescriptor) DilationRates() []foundation.Number
[Full Topic]
func (DepthwiseConvolution3DOpDescriptor) Init ¶
func (d_ DepthwiseConvolution3DOpDescriptor) Init() DepthwiseConvolution3DOpDescriptor
func (DepthwiseConvolution3DOpDescriptor) PaddingStyle ¶
func (d_ DepthwiseConvolution3DOpDescriptor) PaddingStyle() PaddingStyle
[Full Topic]
func (DepthwiseConvolution3DOpDescriptor) PaddingValues ¶
func (d_ DepthwiseConvolution3DOpDescriptor) PaddingValues() []foundation.Number
[Full Topic]
func (DepthwiseConvolution3DOpDescriptor) SetChannelDimensionIndex ¶
func (d_ DepthwiseConvolution3DOpDescriptor) SetChannelDimensionIndex(value int)
[Full Topic]
func (DepthwiseConvolution3DOpDescriptor) SetDilationRates ¶
func (d_ DepthwiseConvolution3DOpDescriptor) SetDilationRates(value []foundation.INumber)
[Full Topic]
func (DepthwiseConvolution3DOpDescriptor) SetPaddingStyle ¶
func (d_ DepthwiseConvolution3DOpDescriptor) SetPaddingStyle(value PaddingStyle)
[Full Topic]
func (DepthwiseConvolution3DOpDescriptor) SetPaddingValues ¶
func (d_ DepthwiseConvolution3DOpDescriptor) SetPaddingValues(value []foundation.INumber)
[Full Topic]
func (DepthwiseConvolution3DOpDescriptor) SetStrides ¶
func (d_ DepthwiseConvolution3DOpDescriptor) SetStrides(value []foundation.INumber)
[Full Topic]
func (DepthwiseConvolution3DOpDescriptor) Strides ¶
func (d_ DepthwiseConvolution3DOpDescriptor) Strides() []foundation.Number
[Full Topic]
type Executable ¶
[Full Topic]
func ExecutableFrom ¶
func ExecutableFrom(ptr unsafe.Pointer) Executable
func NewExecutable ¶
func NewExecutable() Executable
func (Executable) EncodeToCommandBufferInputsArrayResultsArrayExecutionDescriptor ¶
func (e_ Executable) EncodeToCommandBufferInputsArrayResultsArrayExecutionDescriptor(commandBuffer mps.ICommandBuffer, inputsArray []ITensorData, resultsArray []ITensorData, executionDescriptor IExecutableExecutionDescriptor) []TensorData
[Full Topic]
func (Executable) Init ¶
func (e_ Executable) Init() Executable
func (Executable) RunAsyncWithMTLCommandQueueInputsArrayResultsArrayExecutionDescriptor ¶
func (e_ Executable) RunAsyncWithMTLCommandQueueInputsArrayResultsArrayExecutionDescriptor(commandQueue metal.PCommandQueue, inputsArray []ITensorData, resultsArray []ITensorData, executionDescriptor IExecutableExecutionDescriptor) []TensorData
[Full Topic]
func (Executable) RunAsyncWithMTLCommandQueueObjectInputsArrayResultsArrayExecutionDescriptor ¶
func (e_ Executable) RunAsyncWithMTLCommandQueueObjectInputsArrayResultsArrayExecutionDescriptor(commandQueueObject objc.IObject, inputsArray []ITensorData, resultsArray []ITensorData, executionDescriptor IExecutableExecutionDescriptor) []TensorData
[Full Topic]
func (Executable) RunWithMTLCommandQueueInputsArrayResultsArrayExecutionDescriptor ¶
func (e_ Executable) RunWithMTLCommandQueueInputsArrayResultsArrayExecutionDescriptor(commandQueue metal.PCommandQueue, inputsArray []ITensorData, resultsArray []ITensorData, executionDescriptor IExecutableExecutionDescriptor) []TensorData
[Full Topic]
func (Executable) RunWithMTLCommandQueueObjectInputsArrayResultsArrayExecutionDescriptor ¶
func (e_ Executable) RunWithMTLCommandQueueObjectInputsArrayResultsArrayExecutionDescriptor(commandQueueObject objc.IObject, inputsArray []ITensorData, resultsArray []ITensorData, executionDescriptor IExecutableExecutionDescriptor) []TensorData
[Full Topic]
func (Executable) SpecializeWithDeviceInputTypesCompilationDescriptor ¶
func (e_ Executable) SpecializeWithDeviceInputTypesCompilationDescriptor(device IDevice, inputTypes []IType, compilationDescriptor ICompilationDescriptor)
[Full Topic]
type ExecutableCompletionHandler ¶
type ExecutableCompletionHandler = func(results []TensorData, error foundation.Error)
[Full Topic]
type ExecutableExecutionDescriptor ¶
[Full Topic]
func ExecutableExecutionDescriptorFrom ¶
func ExecutableExecutionDescriptorFrom(ptr unsafe.Pointer) ExecutableExecutionDescriptor
func NewExecutableExecutionDescriptor ¶
func NewExecutableExecutionDescriptor() ExecutableExecutionDescriptor
func (ExecutableExecutionDescriptor) CompletionHandler ¶
func (e_ ExecutableExecutionDescriptor) CompletionHandler() ExecutableCompletionHandler
[Full Topic]
func (ExecutableExecutionDescriptor) Init ¶
func (e_ ExecutableExecutionDescriptor) Init() ExecutableExecutionDescriptor
func (ExecutableExecutionDescriptor) ScheduledHandler ¶
func (e_ ExecutableExecutionDescriptor) ScheduledHandler() ExecutableScheduledHandler
[Full Topic]
func (ExecutableExecutionDescriptor) SetCompletionHandler ¶
func (e_ ExecutableExecutionDescriptor) SetCompletionHandler(value ExecutableCompletionHandler)
[Full Topic]
func (ExecutableExecutionDescriptor) SetScheduledHandler ¶
func (e_ ExecutableExecutionDescriptor) SetScheduledHandler(value ExecutableScheduledHandler)
[Full Topic]
func (ExecutableExecutionDescriptor) SetWaitUntilCompleted ¶
func (e_ ExecutableExecutionDescriptor) SetWaitUntilCompleted(value bool)
[Full Topic]
func (ExecutableExecutionDescriptor) WaitUntilCompleted ¶
func (e_ ExecutableExecutionDescriptor) WaitUntilCompleted() bool
[Full Topic]
type ExecutableScheduledHandler ¶
type ExecutableScheduledHandler = func(results []TensorData, error foundation.Error)
[Full Topic]
type ExecutionDescriptor ¶
[Full Topic]
func ExecutionDescriptorFrom ¶
func ExecutionDescriptorFrom(ptr unsafe.Pointer) ExecutionDescriptor
func NewExecutionDescriptor ¶
func NewExecutionDescriptor() ExecutionDescriptor
func (ExecutionDescriptor) CompilationDescriptor ¶
func (e_ ExecutionDescriptor) CompilationDescriptor() CompilationDescriptor
[Full Topic]
func (ExecutionDescriptor) CompletionHandler ¶
func (e_ ExecutionDescriptor) CompletionHandler() CompletionHandler
[Full Topic]
func (ExecutionDescriptor) Init ¶
func (e_ ExecutionDescriptor) Init() ExecutionDescriptor
func (ExecutionDescriptor) ScheduledHandler ¶
func (e_ ExecutionDescriptor) ScheduledHandler() ScheduledHandler
[Full Topic]
func (ExecutionDescriptor) SetCompilationDescriptor ¶
func (e_ ExecutionDescriptor) SetCompilationDescriptor(value ICompilationDescriptor)
[Full Topic]
func (ExecutionDescriptor) SetCompletionHandler ¶
func (e_ ExecutionDescriptor) SetCompletionHandler(value CompletionHandler)
[Full Topic]
func (ExecutionDescriptor) SetScheduledHandler ¶
func (e_ ExecutionDescriptor) SetScheduledHandler(value ScheduledHandler)
[Full Topic]
func (ExecutionDescriptor) SetWaitUntilCompleted ¶
func (e_ ExecutionDescriptor) SetWaitUntilCompleted(value bool)
[Full Topic]
func (ExecutionDescriptor) WaitUntilCompleted ¶
func (e_ ExecutionDescriptor) WaitUntilCompleted() bool
[Full Topic]
type ForLoopBodyBlock ¶
[Full Topic]
type Graph ¶
[Full Topic]
func (Graph) AbsoluteWithTensorName ¶
[Full Topic]
func (Graph) AcosWithTensorName ¶
[Full Topic]
func (Graph) AcoshWithTensorName ¶
[Full Topic]
func (Graph) AdditionWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) AdditionWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) ApplyStochasticGradientDescentWithLearningRateTensorVariableGradientTensorName ¶
func (g_ Graph) ApplyStochasticGradientDescentWithLearningRateTensorVariableGradientTensorName(learningRateTensor ITensor, variable IVariableOp, gradientTensor ITensor, name string) Operation
[Full Topic]
func (Graph) AsinWithTensorName ¶
[Full Topic]
func (Graph) AsinhWithTensorName ¶
[Full Topic]
func (Graph) AssignVariableWithValueOfTensorName ¶
func (g_ Graph) AssignVariableWithValueOfTensorName(variable ITensor, tensor ITensor, name string) Operation
[Full Topic]
func (Graph) Atan2WithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) Atan2WithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) AtanWithTensorName ¶
[Full Topic]
func (Graph) AtanhWithTensorName ¶
[Full Topic]
func (Graph) AvgPooling2DGradientWithGradientTensorSourceTensorDescriptorName ¶
func (g_ Graph) AvgPooling2DGradientWithGradientTensorSourceTensorDescriptorName(gradient ITensor, source ITensor, descriptor IPooling2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) AvgPooling2DWithSourceTensorDescriptorName ¶
func (g_ Graph) AvgPooling2DWithSourceTensorDescriptorName(source ITensor, descriptor IPooling2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) AvgPooling4DGradientWithGradientTensorSourceTensorDescriptorName ¶
func (g_ Graph) AvgPooling4DGradientWithGradientTensorSourceTensorDescriptorName(gradient ITensor, source ITensor, descriptor IPooling4DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) AvgPooling4DWithSourceTensorDescriptorName ¶
func (g_ Graph) AvgPooling4DWithSourceTensorDescriptorName(source ITensor, descriptor IPooling4DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) BandPartWithTensorNumLowerNumUpperName ¶
func (g_ Graph) BandPartWithTensorNumLowerNumUpperName(inputTensor ITensor, numLower int, numUpper int, name string) Tensor
[Full Topic]
func (Graph) BandPartWithTensorNumLowerTensorNumUpperTensorName ¶
func (g_ Graph) BandPartWithTensorNumLowerTensorNumUpperTensorName(inputTensor ITensor, numLowerTensor ITensor, numUpperTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) BroadcastTensorToShapeName ¶
func (g_ Graph) BroadcastTensorToShapeName(tensor ITensor, shape *foundation.Array, name string) Tensor
[Full Topic]
func (Graph) BroadcastTensorToShapeTensorName ¶
func (g_ Graph) BroadcastTensorToShapeTensorName(tensor ITensor, shapeTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) CastTensorToTypeName ¶
[Full Topic]
func (Graph) CeilWithTensorName ¶
[Full Topic]
func (Graph) ClampWithTensorMinValueTensorMaxValueTensorName ¶
func (g_ Graph) ClampWithTensorMinValueTensorMaxValueTensorName(tensor ITensor, minValueTensor ITensor, maxValueTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) CompileWithDeviceFeedsTargetTensorsTargetOperationsCompilationDescriptor ¶
func (g_ Graph) CompileWithDeviceFeedsTargetTensorsTargetOperationsCompilationDescriptor(device IDevice, feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation, compilationDescriptor ICompilationDescriptor) Executable
[Full Topic]
func (Graph) ConcatTensorWithTensorDimensionName ¶
func (g_ Graph) ConcatTensorWithTensorDimensionName(tensor ITensor, tensor2 ITensor, dimensionIndex int, name string) Tensor
[Full Topic]
func (Graph) ConcatTensorsDimensionInterleaveName ¶
func (g_ Graph) ConcatTensorsDimensionInterleaveName(tensors []ITensor, dimensionIndex int, interleave bool, name string) Tensor
[Full Topic]
func (Graph) ConcatTensorsDimensionName ¶
func (g_ Graph) ConcatTensorsDimensionName(tensors []ITensor, dimensionIndex int, name string) Tensor
[Full Topic]
func (Graph) ConstantWithDataShapeDataType ¶
func (g_ Graph) ConstantWithDataShapeDataType(data []byte, shape *foundation.Array, dataType mps.DataType) Tensor
[Full Topic]
func (Graph) ConstantWithScalarDataType ¶
[Full Topic]
func (Graph) ConstantWithScalarShapeDataType ¶
func (g_ Graph) ConstantWithScalarShapeDataType(scalar float64, shape *foundation.Array, dataType mps.DataType) Tensor
[Full Topic]
func (Graph) ControlDependencyWithOperationsDependentBlockName ¶
func (g_ Graph) ControlDependencyWithOperationsDependentBlockName(operations []IOperation, dependentBlock ControlFlowDependencyBlock, name string) []Tensor
[Full Topic]
func (Graph) Convolution2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeForwardConvolutionDescriptorName ¶
func (g_ Graph) Convolution2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeForwardConvolutionDescriptorName(incomingGradient ITensor, weights ITensor, outputShape *foundation.Array, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) Convolution2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeTensorForwardConvolutionDescriptorName ¶
func (g_ Graph) Convolution2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeTensorForwardConvolutionDescriptorName(gradient ITensor, weights ITensor, outputShapeTensor ITensor, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) Convolution2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeForwardConvolutionDescriptorName ¶
func (g_ Graph) Convolution2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeForwardConvolutionDescriptorName(incomingGradient ITensor, source ITensor, outputShape *foundation.Array, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) Convolution2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeTensorForwardConvolutionDescriptorName ¶
func (g_ Graph) Convolution2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeTensorForwardConvolutionDescriptorName(gradient ITensor, source ITensor, outputShapeTensor ITensor, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) Convolution2DWithSourceTensorWeightsTensorDescriptorName ¶
func (g_ Graph) Convolution2DWithSourceTensorWeightsTensorDescriptorName(source ITensor, weights ITensor, descriptor IConvolution2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) ConvolutionTranspose2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeForwardConvolutionDescriptorName ¶
func (g_ Graph) ConvolutionTranspose2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeForwardConvolutionDescriptorName(incomingGradient ITensor, weights ITensor, outputShape *foundation.Array, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) ConvolutionTranspose2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeTensorForwardConvolutionDescriptorName ¶
func (g_ Graph) ConvolutionTranspose2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeTensorForwardConvolutionDescriptorName(incomingGradient ITensor, weights ITensor, outputShape ITensor, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) ConvolutionTranspose2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeForwardConvolutionDescriptorName ¶
func (g_ Graph) ConvolutionTranspose2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeForwardConvolutionDescriptorName(incomingGradientTensor ITensor, source ITensor, outputShape *foundation.Array, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) ConvolutionTranspose2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeTensorForwardConvolutionDescriptorName ¶
func (g_ Graph) ConvolutionTranspose2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeTensorForwardConvolutionDescriptorName(incomingGradientTensor ITensor, source ITensor, outputShape ITensor, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) ConvolutionTranspose2DWithSourceTensorWeightsTensorOutputShapeDescriptorName ¶
func (g_ Graph) ConvolutionTranspose2DWithSourceTensorWeightsTensorOutputShapeDescriptorName(source ITensor, weights ITensor, outputShape *foundation.Array, descriptor IConvolution2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) ConvolutionTranspose2DWithSourceTensorWeightsTensorOutputShapeTensorDescriptorName ¶
func (g_ Graph) ConvolutionTranspose2DWithSourceTensorWeightsTensorOutputShapeTensorDescriptorName(source ITensor, weights ITensor, outputShape ITensor, descriptor IConvolution2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) CoordinateAlongAxisTensorWithShapeName ¶
func (g_ Graph) CoordinateAlongAxisTensorWithShapeName(axisTensor ITensor, shape *foundation.Array, name string) Tensor
[Full Topic]
func (Graph) CoordinateAlongAxisTensorWithShapeTensorName ¶
func (g_ Graph) CoordinateAlongAxisTensorWithShapeTensorName(axisTensor ITensor, shapeTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) CoordinateAlongAxisWithShapeName ¶
func (g_ Graph) CoordinateAlongAxisWithShapeName(axis int, shape *foundation.Array, name string) Tensor
[Full Topic]
func (Graph) CoordinateAlongAxisWithShapeTensorName ¶
func (g_ Graph) CoordinateAlongAxisWithShapeTensorName(axis int, shapeTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) CosWithTensorName ¶
[Full Topic]
func (Graph) CoshWithTensorName ¶
[Full Topic]
func (Graph) DepthToSpace2DTensorWidthAxisHeightAxisDepthAxisBlockSizeUsePixelShuffleOrderName ¶
func (g_ Graph) DepthToSpace2DTensorWidthAxisHeightAxisDepthAxisBlockSizeUsePixelShuffleOrderName(tensor ITensor, widthAxis uint, heightAxis uint, depthAxis uint, blockSize uint, usePixelShuffleOrder bool, name string) Tensor
[Full Topic]
func (Graph) DepthToSpace2DTensorWidthAxisTensorHeightAxisTensorDepthAxisTensorBlockSizeUsePixelShuffleOrderName ¶
func (g_ Graph) DepthToSpace2DTensorWidthAxisTensorHeightAxisTensorDepthAxisTensorBlockSizeUsePixelShuffleOrderName(tensor ITensor, widthAxisTensor ITensor, heightAxisTensor ITensor, depthAxisTensor ITensor, blockSize uint, usePixelShuffleOrder bool, name string) Tensor
[Full Topic]
func (Graph) DepthwiseConvolution2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeDescriptorName ¶
func (g_ Graph) DepthwiseConvolution2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeDescriptorName(incomingGradient ITensor, weights ITensor, outputShape *foundation.Array, descriptor IDepthwiseConvolution2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) DepthwiseConvolution2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeDescriptorName ¶
func (g_ Graph) DepthwiseConvolution2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeDescriptorName(incomingGradient ITensor, source ITensor, outputShape *foundation.Array, descriptor IDepthwiseConvolution2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) DepthwiseConvolution2DWithSourceTensorWeightsTensorDescriptorName ¶
func (g_ Graph) DepthwiseConvolution2DWithSourceTensorWeightsTensorDescriptorName(source ITensor, weights ITensor, descriptor IDepthwiseConvolution2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) DepthwiseConvolution3DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeDescriptorName ¶
func (g_ Graph) DepthwiseConvolution3DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeDescriptorName(incomingGradient ITensor, weights ITensor, outputShape *foundation.Array, descriptor IDepthwiseConvolution3DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) DepthwiseConvolution3DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeDescriptorName ¶
func (g_ Graph) DepthwiseConvolution3DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeDescriptorName(incomingGradient ITensor, source ITensor, outputShape *foundation.Array, descriptor IDepthwiseConvolution3DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) DepthwiseConvolution3DWithSourceTensorWeightsTensorDescriptorName ¶
func (g_ Graph) DepthwiseConvolution3DWithSourceTensorWeightsTensorDescriptorName(source ITensor, weights ITensor, descriptor IDepthwiseConvolution3DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) DivisionNoNaNWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) DivisionNoNaNWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) DivisionWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) DivisionWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) DropoutTensorRateName ¶
[Full Topic]
func (Graph) DropoutTensorRateTensorName ¶
[Full Topic]
func (Graph) EncodeToCommandBufferFeedsTargetOperationsResultsDictionaryExecutionDescriptor ¶
func (g_ Graph) EncodeToCommandBufferFeedsTargetOperationsResultsDictionaryExecutionDescriptor(commandBuffer mps.ICommandBuffer, feeds *foundation.Dictionary, targetOperations []IOperation, resultsDictionary *foundation.Dictionary, executionDescriptor IExecutionDescriptor)
[Full Topic]
func (Graph) EncodeToCommandBufferFeedsTargetTensorsTargetOperationsExecutionDescriptor ¶
func (g_ Graph) EncodeToCommandBufferFeedsTargetTensorsTargetOperationsExecutionDescriptor(commandBuffer mps.ICommandBuffer, feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation, executionDescriptor IExecutionDescriptor) *foundation.Dictionary
[Full Topic]
func (Graph) EqualWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) EqualWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) ErfWithTensorName ¶
[Full Topic]
func (Graph) ExpandDimsOfTensorAxesName ¶
func (g_ Graph) ExpandDimsOfTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) ExpandDimsOfTensorAxesTensorName ¶
func (g_ Graph) ExpandDimsOfTensorAxesTensorName(tensor ITensor, axesTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) ExpandDimsOfTensorAxisName ¶
[Full Topic]
func (Graph) ExponentBase10WithTensorName ¶
[Full Topic]
func (Graph) ExponentBase2WithTensorName ¶
[Full Topic]
func (Graph) ExponentWithTensorName ¶
[Full Topic]
func (Graph) Flatten2DTensorAxisName ¶
[Full Topic]
func (Graph) Flatten2DTensorAxisTensorName ¶
func (g_ Graph) Flatten2DTensorAxisTensorName(tensor ITensor, axisTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) FloorModuloWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) FloorModuloWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) FloorWithTensorName ¶
[Full Topic]
func (Graph) ForLoopWithLowerBoundUpperBoundStepInitialBodyArgumentsBodyName ¶
func (g_ Graph) ForLoopWithLowerBoundUpperBoundStepInitialBodyArgumentsBodyName(lowerBound ITensor, upperBound ITensor, step ITensor, initialBodyArguments []ITensor, body ForLoopBodyBlock, name string) []Tensor
[Full Topic]
func (Graph) ForLoopWithNumberOfIterationsInitialBodyArgumentsBodyName ¶
func (g_ Graph) ForLoopWithNumberOfIterationsInitialBodyArgumentsBodyName(numberOfIterations ITensor, initialBodyArguments []ITensor, body ForLoopBodyBlock, name string) []Tensor
[Full Topic]
func (Graph) GatherAlongAxisTensorWithUpdatesTensorIndicesTensorName ¶
func (g_ Graph) GatherAlongAxisTensorWithUpdatesTensorIndicesTensorName(axisTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) GatherAlongAxisWithUpdatesTensorIndicesTensorName ¶
func (g_ Graph) GatherAlongAxisWithUpdatesTensorIndicesTensorName(axis int, updatesTensor ITensor, indicesTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) GatherNDWithUpdatesTensorIndicesTensorBatchDimensionsName ¶
func (g_ Graph) GatherNDWithUpdatesTensorIndicesTensorBatchDimensionsName(updatesTensor ITensor, indicesTensor ITensor, batchDimensions uint, name string) Tensor
[Full Topic]
func (Graph) GatherWithUpdatesTensorIndicesTensorAxisBatchDimensionsName ¶
func (g_ Graph) GatherWithUpdatesTensorIndicesTensorAxisBatchDimensionsName(updatesTensor ITensor, indicesTensor ITensor, axis uint, batchDimensions uint, name string) Tensor
[Full Topic]
func (Graph) GradientForPrimaryTensorWithTensorsName ¶
func (g_ Graph) GradientForPrimaryTensorWithTensorsName(primaryTensor ITensor, tensors []ITensor, name string) foundation.Dictionary
[Full Topic]
func (Graph) GreaterThanOrEqualToWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) GreaterThanOrEqualToWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) GreaterThanWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) GreaterThanWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) IdentityWithTensorName ¶
[Full Topic]
func (Graph) IfWithPredicateTensorThenBlockElseBlockName ¶
func (g_ Graph) IfWithPredicateTensorThenBlockElseBlockName(predicateTensor ITensor, thenBlock IfThenElseBlock, elseBlock IfThenElseBlock, name string) []Tensor
[Full Topic]
func (Graph) IsFiniteWithTensorName ¶
[Full Topic]
func (Graph) IsInfiniteWithTensorName ¶
[Full Topic]
func (Graph) IsNaNWithTensorName ¶
[Full Topic]
func (Graph) L2NormPooling4DGradientWithGradientTensorSourceTensorDescriptorName ¶
func (g_ Graph) L2NormPooling4DGradientWithGradientTensorSourceTensorDescriptorName(gradient ITensor, source ITensor, descriptor IPooling4DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) L2NormPooling4DWithSourceTensorDescriptorName ¶
func (g_ Graph) L2NormPooling4DWithSourceTensorDescriptorName(source ITensor, descriptor IPooling4DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdDescriptorName ¶
func (g_ Graph) LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, cellOutputFwd ITensor, descriptor ILSTMDescriptor, name string) []Tensor
[Full Topic]
func (Graph) LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdInputWeightBiasInitStateInitCellDescriptorName ¶
func (g_ Graph) LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdInputWeightBiasInitStateInitCellDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, cellOutputFwd ITensor, inputWeight ITensor, bias ITensor, initState ITensor, initCell ITensor, descriptor ILSTMDescriptor, name string) []Tensor
[Full Topic]
func (Graph) LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdInputWeightBiasInitStateInitCellMaskDescriptorName ¶
func (g_ Graph) LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdInputWeightBiasInitStateInitCellMaskDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, cellOutputFwd ITensor, inputWeight ITensor, bias ITensor, initState ITensor, initCell ITensor, mask ITensor, descriptor ILSTMDescriptor, name string) []Tensor
[Full Topic]
func (Graph) LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdStateGradientCellGradientInputWeightBiasInitStateInitCellMaskPeepholeDescriptorName ¶
func (g_ Graph) LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdStateGradientCellGradientInputWeightBiasInitStateInitCellMaskPeepholeDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, cellOutputFwd ITensor, stateGradient ITensor, cellGradient ITensor, inputWeight ITensor, bias ITensor, initState ITensor, initCell ITensor, mask ITensor, peephole ITensor, descriptor ILSTMDescriptor, name string) []Tensor
[Full Topic]
func (Graph) LSTMWithSourceTensorRecurrentWeightInitStateInitCellDescriptorName ¶
func (g_ Graph) LSTMWithSourceTensorRecurrentWeightInitStateInitCellDescriptorName(source ITensor, recurrentWeight ITensor, initState ITensor, initCell ITensor, descriptor ILSTMDescriptor, name string) []Tensor
[Full Topic]
func (Graph) LSTMWithSourceTensorRecurrentWeightInputWeightBiasInitStateInitCellDescriptorName ¶
func (g_ Graph) LSTMWithSourceTensorRecurrentWeightInputWeightBiasInitStateInitCellDescriptorName(source ITensor, recurrentWeight ITensor, inputWeight ITensor, bias ITensor, initState ITensor, initCell ITensor, descriptor ILSTMDescriptor, name string) []Tensor
[Full Topic]
func (Graph) LSTMWithSourceTensorRecurrentWeightInputWeightBiasInitStateInitCellMaskPeepholeDescriptorName ¶
func (g_ Graph) LSTMWithSourceTensorRecurrentWeightInputWeightBiasInitStateInitCellMaskPeepholeDescriptorName(source ITensor, recurrentWeight ITensor, inputWeight ITensor, bias ITensor, initState ITensor, initCell ITensor, mask ITensor, peephole ITensor, descriptor ILSTMDescriptor, name string) []Tensor
[Full Topic]
func (Graph) LeakyReLUGradientWithIncomingGradientSourceTensorAlphaTensorName ¶
func (g_ Graph) LeakyReLUGradientWithIncomingGradientSourceTensorAlphaTensorName(gradient ITensor, source ITensor, alphaTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) LeakyReLUWithTensorAlphaName ¶
[Full Topic]
func (Graph) LeakyReLUWithTensorAlphaTensorName ¶
func (g_ Graph) LeakyReLUWithTensorAlphaTensorName(tensor ITensor, alphaTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) LessThanOrEqualToWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) LessThanOrEqualToWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) LessThanWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) LessThanWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) LogarithmBase10WithTensorName ¶
[Full Topic]
func (Graph) LogarithmBase2WithTensorName ¶
[Full Topic]
func (Graph) LogarithmWithTensorName ¶
[Full Topic]
func (Graph) LogicalANDWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) LogicalANDWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) LogicalNANDWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) LogicalNANDWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) LogicalNORWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) LogicalNORWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) LogicalORWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) LogicalORWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) LogicalXNORWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) LogicalXNORWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) LogicalXORWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) LogicalXORWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) MatrixMultiplicationWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) MatrixMultiplicationWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) MaxPooling2DGradientWithGradientTensorSourceTensorDescriptorName ¶
func (g_ Graph) MaxPooling2DGradientWithGradientTensorSourceTensorDescriptorName(gradient ITensor, source ITensor, descriptor IPooling2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) MaxPooling2DReturnIndicesWithSourceTensorDescriptorName ¶
func (g_ Graph) MaxPooling2DReturnIndicesWithSourceTensorDescriptorName(source ITensor, descriptor IPooling2DOpDescriptor, name string) []Tensor
[Full Topic]
func (Graph) MaxPooling2DWithSourceTensorDescriptorName ¶
func (g_ Graph) MaxPooling2DWithSourceTensorDescriptorName(source ITensor, descriptor IPooling2DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) MaxPooling4DGradientWithGradientTensorSourceTensorDescriptorName ¶
func (g_ Graph) MaxPooling4DGradientWithGradientTensorSourceTensorDescriptorName(gradient ITensor, source ITensor, descriptor IPooling4DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) MaxPooling4DReturnIndicesWithSourceTensorDescriptorName ¶
func (g_ Graph) MaxPooling4DReturnIndicesWithSourceTensorDescriptorName(source ITensor, descriptor IPooling4DOpDescriptor, name string) []Tensor
[Full Topic]
func (Graph) MaxPooling4DWithSourceTensorDescriptorName ¶
func (g_ Graph) MaxPooling4DWithSourceTensorDescriptorName(source ITensor, descriptor IPooling4DOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) MaximumWithNaNPropagationWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) MaximumWithNaNPropagationWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) MaximumWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) MaximumWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) MeanOfTensorAxesName ¶
[Full Topic]
func (Graph) MinimumWithNaNPropagationWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) MinimumWithNaNPropagationWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) MinimumWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) MinimumWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) ModuloWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) ModuloWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) MultiplicationWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) MultiplicationWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) NegativeWithTensorName ¶
[Full Topic]
func (Graph) NormalizationBetaGradientWithIncomingGradientTensorSourceTensorReductionAxesName ¶
func (g_ Graph) NormalizationBetaGradientWithIncomingGradientTensorSourceTensorReductionAxesName(incomingGradientTensor ITensor, sourceTensor ITensor, axes []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) NormalizationGammaGradientWithIncomingGradientTensorSourceTensorMeanTensorVarianceTensorReductionAxesEpsilonName ¶
func (g_ Graph) NormalizationGammaGradientWithIncomingGradientTensorSourceTensorMeanTensorVarianceTensorReductionAxesEpsilonName(incomingGradientTensor ITensor, sourceTensor ITensor, meanTensor ITensor, varianceTensor ITensor, axes []foundation.INumber, epsilon float64, name string) Tensor
[Full Topic]
func (Graph) NormalizationGradientWithIncomingGradientTensorSourceTensorMeanTensorVarianceTensorGammaTensorGammaGradientTensorBetaGradientTensorReductionAxesEpsilonName ¶
func (g_ Graph) NormalizationGradientWithIncomingGradientTensorSourceTensorMeanTensorVarianceTensorGammaTensorGammaGradientTensorBetaGradientTensorReductionAxesEpsilonName(incomingGradientTensor ITensor, sourceTensor ITensor, meanTensor ITensor, varianceTensor ITensor, gamma ITensor, gammaGradient ITensor, betaGradient ITensor, axes []foundation.INumber, epsilon float64, name string) Tensor
[Full Topic]
func (Graph) NormalizationWithTensorMeanTensorVarianceTensorGammaTensorBetaTensorEpsilonName ¶
func (g_ Graph) NormalizationWithTensorMeanTensorVarianceTensorGammaTensorBetaTensorEpsilonName(tensor ITensor, mean ITensor, variance ITensor, gamma ITensor, beta ITensor, epsilon float64, name string) Tensor
[Full Topic]
func (Graph) NotEqualWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) NotEqualWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) NotWithTensorName ¶
[Full Topic]
func (Graph) OneHotWithIndicesTensorDepthAxisDataTypeName ¶
func (g_ Graph) OneHotWithIndicesTensorDepthAxisDataTypeName(indicesTensor ITensor, depth uint, axis uint, dataType mps.DataType, name string) Tensor
[Full Topic]
func (Graph) OneHotWithIndicesTensorDepthAxisDataTypeOnValueOffValueName ¶
func (g_ Graph) OneHotWithIndicesTensorDepthAxisDataTypeOnValueOffValueName(indicesTensor ITensor, depth uint, axis uint, dataType mps.DataType, onValue float64, offValue float64, name string) Tensor
[Full Topic]
func (Graph) OneHotWithIndicesTensorDepthAxisName ¶
func (g_ Graph) OneHotWithIndicesTensorDepthAxisName(indicesTensor ITensor, depth uint, axis uint, name string) Tensor
[Full Topic]
func (Graph) OneHotWithIndicesTensorDepthDataTypeName ¶
func (g_ Graph) OneHotWithIndicesTensorDepthDataTypeName(indicesTensor ITensor, depth uint, dataType mps.DataType, name string) Tensor
[Full Topic]
func (Graph) OneHotWithIndicesTensorDepthDataTypeOnValueOffValueName ¶
func (g_ Graph) OneHotWithIndicesTensorDepthDataTypeOnValueOffValueName(indicesTensor ITensor, depth uint, dataType mps.DataType, onValue float64, offValue float64, name string) Tensor
[Full Topic]
func (Graph) OneHotWithIndicesTensorDepthName ¶
func (g_ Graph) OneHotWithIndicesTensorDepthName(indicesTensor ITensor, depth uint, name string) Tensor
[Full Topic]
func (Graph) PadGradientWithIncomingGradientTensorSourceTensorPaddingModeLeftPaddingRightPaddingName ¶
func (g_ Graph) PadGradientWithIncomingGradientTensorSourceTensorPaddingModeLeftPaddingRightPaddingName(incomingGradientTensor ITensor, sourceTensor ITensor, paddingMode PaddingMode, leftPadding *foundation.Array, rightPadding *foundation.Array, name string) Tensor
[Full Topic]
func (Graph) PadTensorWithPaddingModeLeftPaddingRightPaddingConstantValueName ¶
func (g_ Graph) PadTensorWithPaddingModeLeftPaddingRightPaddingConstantValueName(tensor ITensor, paddingMode PaddingMode, leftPadding *foundation.Array, rightPadding *foundation.Array, constantValue float64, name string) Tensor
[Full Topic]
func (Graph) PlaceholderWithShapeDataTypeName ¶
func (g_ Graph) PlaceholderWithShapeDataTypeName(shape *foundation.Array, dataType mps.DataType, name string) Tensor
[Full Topic]
func (Graph) PlaceholderWithShapeName ¶
func (g_ Graph) PlaceholderWithShapeName(shape *foundation.Array, name string) Tensor
[Full Topic]
func (Graph) PowerWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) PowerWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) RandomPhiloxStateTensorWithCounterLowCounterHighKeyName ¶
func (g_ Graph) RandomPhiloxStateTensorWithCounterLowCounterHighKeyName(counterLow uint, counterHigh uint, key uint, name string) Tensor
[Full Topic]
func (Graph) RandomPhiloxStateTensorWithSeedName ¶
[Full Topic]
func (Graph) RandomTensorWithShapeDescriptorName ¶
func (g_ Graph) RandomTensorWithShapeDescriptorName(shape *foundation.Array, descriptor IRandomOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) RandomTensorWithShapeDescriptorSeedName ¶
func (g_ Graph) RandomTensorWithShapeDescriptorSeedName(shape *foundation.Array, descriptor IRandomOpDescriptor, seed uint, name string) Tensor
[Full Topic]
func (Graph) RandomTensorWithShapeDescriptorStateTensorName ¶
func (g_ Graph) RandomTensorWithShapeDescriptorStateTensorName(shape *foundation.Array, descriptor IRandomOpDescriptor, state ITensor, name string) []Tensor
[Full Topic]
func (Graph) RandomTensorWithShapeTensorDescriptorName ¶
func (g_ Graph) RandomTensorWithShapeTensorDescriptorName(shapeTensor ITensor, descriptor IRandomOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) RandomTensorWithShapeTensorDescriptorSeedName ¶
func (g_ Graph) RandomTensorWithShapeTensorDescriptorSeedName(shapeTensor ITensor, descriptor IRandomOpDescriptor, seed uint, name string) Tensor
[Full Topic]
func (Graph) RandomTensorWithShapeTensorDescriptorStateTensorName ¶
func (g_ Graph) RandomTensorWithShapeTensorDescriptorStateTensorName(shapeTensor ITensor, descriptor IRandomOpDescriptor, state ITensor, name string) []Tensor
[Full Topic]
func (Graph) RandomUniformTensorWithShapeName ¶
func (g_ Graph) RandomUniformTensorWithShapeName(shape *foundation.Array, name string) Tensor
[Full Topic]
func (Graph) RandomUniformTensorWithShapeSeedName ¶
func (g_ Graph) RandomUniformTensorWithShapeSeedName(shape *foundation.Array, seed uint, name string) Tensor
[Full Topic]
func (Graph) RandomUniformTensorWithShapeStateTensorName ¶
func (g_ Graph) RandomUniformTensorWithShapeStateTensorName(shape *foundation.Array, state ITensor, name string) []Tensor
[Full Topic]
func (Graph) RandomUniformTensorWithShapeTensorName ¶
[Full Topic]
func (Graph) RandomUniformTensorWithShapeTensorSeedName ¶
func (g_ Graph) RandomUniformTensorWithShapeTensorSeedName(shapeTensor ITensor, seed uint, name string) Tensor
[Full Topic]
func (Graph) RandomUniformTensorWithShapeTensorStateTensorName ¶
func (g_ Graph) RandomUniformTensorWithShapeTensorStateTensorName(shapeTensor ITensor, state ITensor, name string) []Tensor
[Full Topic]
func (Graph) ReLUGradientWithIncomingGradientSourceTensorName ¶
func (g_ Graph) ReLUGradientWithIncomingGradientSourceTensorName(gradient ITensor, source ITensor, name string) Tensor
[Full Topic]
func (Graph) ReLUWithTensorName ¶
[Full Topic]
func (Graph) ReadVariableName ¶
[Full Topic]
func (Graph) ReciprocalWithTensorName ¶
[Full Topic]
func (Graph) ReductionAndWithTensorAxesName ¶
func (g_ Graph) ReductionAndWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) ReductionAndWithTensorAxisName ¶
[Full Topic]
func (Graph) ReductionArgMaximumWithTensorAxisName ¶
[Full Topic]
func (Graph) ReductionArgMinimumWithTensorAxisName ¶
[Full Topic]
func (Graph) ReductionMaximumPropagateNaNWithTensorAxesName ¶
func (g_ Graph) ReductionMaximumPropagateNaNWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) ReductionMaximumPropagateNaNWithTensorAxisName ¶
func (g_ Graph) ReductionMaximumPropagateNaNWithTensorAxisName(tensor ITensor, axis int, name string) Tensor
[Full Topic]
func (Graph) ReductionMaximumWithTensorAxesName ¶
func (g_ Graph) ReductionMaximumWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) ReductionMaximumWithTensorAxisName ¶
[Full Topic]
func (Graph) ReductionMinimumPropagateNaNWithTensorAxesName ¶
func (g_ Graph) ReductionMinimumPropagateNaNWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) ReductionMinimumPropagateNaNWithTensorAxisName ¶
func (g_ Graph) ReductionMinimumPropagateNaNWithTensorAxisName(tensor ITensor, axis int, name string) Tensor
[Full Topic]
func (Graph) ReductionMinimumWithTensorAxesName ¶
func (g_ Graph) ReductionMinimumWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) ReductionMinimumWithTensorAxisName ¶
[Full Topic]
func (Graph) ReductionOrWithTensorAxesName ¶
func (g_ Graph) ReductionOrWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) ReductionOrWithTensorAxisName ¶
[Full Topic]
func (Graph) ReductionProductWithTensorAxesName ¶
func (g_ Graph) ReductionProductWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) ReductionProductWithTensorAxisName ¶
[Full Topic]
func (Graph) ReductionSumWithTensorAxesName ¶
func (g_ Graph) ReductionSumWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) ReductionSumWithTensorAxisName ¶
[Full Topic]
func (Graph) ReshapeTensorWithShapeName ¶
func (g_ Graph) ReshapeTensorWithShapeName(tensor ITensor, shape *foundation.Array, name string) Tensor
[Full Topic]
func (Graph) ReshapeTensorWithShapeTensorName ¶
func (g_ Graph) ReshapeTensorWithShapeTensorName(tensor ITensor, shapeTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) ResizeTensorSizeModeCenterResultAlignCornersLayoutName ¶
func (g_ Graph) ResizeTensorSizeModeCenterResultAlignCornersLayoutName(imagesTensor ITensor, size *foundation.Array, mode ResizeMode, centerResult bool, alignCorners bool, layout TensorNamedDataLayout, name string) Tensor
[Full Topic]
func (Graph) ResizeTensorSizeTensorModeCenterResultAlignCornersLayoutName ¶
func (g_ Graph) ResizeTensorSizeTensorModeCenterResultAlignCornersLayoutName(imagesTensor ITensor, size ITensor, mode ResizeMode, centerResult bool, alignCorners bool, layout TensorNamedDataLayout, name string) Tensor
[Full Topic]
func (Graph) ResizeWithGradientTensorInputModeCenterResultAlignCornersLayoutName ¶
func (g_ Graph) ResizeWithGradientTensorInputModeCenterResultAlignCornersLayoutName(gradient ITensor, input ITensor, mode ResizeMode, centerResult bool, alignCorners bool, layout TensorNamedDataLayout, name string) Tensor
[Full Topic]
func (Graph) ReverseSquareRootWithTensorName ¶
[Full Topic]
func (Graph) ReverseTensorAxesName ¶
func (g_ Graph) ReverseTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) ReverseTensorAxesTensorName ¶
[Full Topic]
func (Graph) ReverseTensorName ¶
[Full Topic]
func (Graph) RintWithTensorName ¶
[Full Topic]
func (Graph) RoundWithTensorName ¶
[Full Topic]
func (Graph) RunAsyncWithFeedsTargetTensorsTargetOperationsExecutionDescriptor ¶
func (g_ Graph) RunAsyncWithFeedsTargetTensorsTargetOperationsExecutionDescriptor(feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation, executionDescriptor IExecutionDescriptor) *foundation.Dictionary
[Full Topic]
func (Graph) RunAsyncWithMTLCommandQueueFeedsTargetOperationsResultsDictionaryExecutionDescriptor ¶
func (g_ Graph) RunAsyncWithMTLCommandQueueFeedsTargetOperationsResultsDictionaryExecutionDescriptor(commandQueue metal.PCommandQueue, feeds *foundation.Dictionary, targetOperations []IOperation, resultsDictionary *foundation.Dictionary, executionDescriptor IExecutionDescriptor)
[Full Topic]
func (Graph) RunAsyncWithMTLCommandQueueFeedsTargetTensorsTargetOperationsExecutionDescriptor ¶
func (g_ Graph) RunAsyncWithMTLCommandQueueFeedsTargetTensorsTargetOperationsExecutionDescriptor(commandQueue metal.PCommandQueue, feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation, executionDescriptor IExecutionDescriptor) *foundation.Dictionary
[Full Topic]
func (Graph) RunAsyncWithMTLCommandQueueObjectFeedsTargetOperationsResultsDictionaryExecutionDescriptor ¶
func (g_ Graph) RunAsyncWithMTLCommandQueueObjectFeedsTargetOperationsResultsDictionaryExecutionDescriptor(commandQueueObject objc.IObject, feeds *foundation.Dictionary, targetOperations []IOperation, resultsDictionary *foundation.Dictionary, executionDescriptor IExecutionDescriptor)
[Full Topic]
func (Graph) RunAsyncWithMTLCommandQueueObjectFeedsTargetTensorsTargetOperationsExecutionDescriptor ¶
func (g_ Graph) RunAsyncWithMTLCommandQueueObjectFeedsTargetTensorsTargetOperationsExecutionDescriptor(commandQueueObject objc.IObject, feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation, executionDescriptor IExecutionDescriptor) *foundation.Dictionary
[Full Topic]
func (Graph) RunWithFeedsTargetTensorsTargetOperations ¶
func (g_ Graph) RunWithFeedsTargetTensorsTargetOperations(feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation) *foundation.Dictionary
[Full Topic]
func (Graph) RunWithMTLCommandQueueFeedsTargetOperationsResultsDictionary ¶
func (g_ Graph) RunWithMTLCommandQueueFeedsTargetOperationsResultsDictionary(commandQueue metal.PCommandQueue, feeds *foundation.Dictionary, targetOperations []IOperation, resultsDictionary *foundation.Dictionary)
[Full Topic]
func (Graph) RunWithMTLCommandQueueFeedsTargetTensorsTargetOperations ¶
func (g_ Graph) RunWithMTLCommandQueueFeedsTargetTensorsTargetOperations(commandQueue metal.PCommandQueue, feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation) *foundation.Dictionary
[Full Topic]
func (Graph) RunWithMTLCommandQueueObjectFeedsTargetOperationsResultsDictionary ¶
func (g_ Graph) RunWithMTLCommandQueueObjectFeedsTargetOperationsResultsDictionary(commandQueueObject objc.IObject, feeds *foundation.Dictionary, targetOperations []IOperation, resultsDictionary *foundation.Dictionary)
[Full Topic]
func (Graph) RunWithMTLCommandQueueObjectFeedsTargetTensorsTargetOperations ¶
func (g_ Graph) RunWithMTLCommandQueueObjectFeedsTargetTensorsTargetOperations(commandQueueObject objc.IObject, feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation) *foundation.Dictionary
[Full Topic]
func (Graph) ScatterAlongAxisTensorWithDataTensorUpdatesTensorIndicesTensorModeName ¶
func (g_ Graph) ScatterAlongAxisTensorWithDataTensorUpdatesTensorIndicesTensorModeName(axisTensor ITensor, dataTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, mode ScatterMode, name string) Tensor
[Full Topic]
func (Graph) ScatterAlongAxisTensorWithUpdatesTensorIndicesTensorShapeModeName ¶
func (g_ Graph) ScatterAlongAxisTensorWithUpdatesTensorIndicesTensorShapeModeName(axisTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, shape *foundation.Array, mode ScatterMode, name string) Tensor
[Full Topic]
func (Graph) ScatterAlongAxisWithDataTensorUpdatesTensorIndicesTensorModeName ¶
func (g_ Graph) ScatterAlongAxisWithDataTensorUpdatesTensorIndicesTensorModeName(axis int, dataTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, mode ScatterMode, name string) Tensor
[Full Topic]
func (Graph) ScatterAlongAxisWithUpdatesTensorIndicesTensorShapeModeName ¶
func (g_ Graph) ScatterAlongAxisWithUpdatesTensorIndicesTensorShapeModeName(axis int, updatesTensor ITensor, indicesTensor ITensor, shape *foundation.Array, mode ScatterMode, name string) Tensor
[Full Topic]
func (Graph) ScatterNDWithDataTensorUpdatesTensorIndicesTensorBatchDimensionsModeName ¶
func (g_ Graph) ScatterNDWithDataTensorUpdatesTensorIndicesTensorBatchDimensionsModeName(dataTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, batchDimensions uint, mode ScatterMode, name string) Tensor
[Full Topic]
func (Graph) ScatterNDWithUpdatesTensorIndicesTensorShapeBatchDimensionsModeName ¶
func (g_ Graph) ScatterNDWithUpdatesTensorIndicesTensorShapeBatchDimensionsModeName(updatesTensor ITensor, indicesTensor ITensor, shape *foundation.Array, batchDimensions uint, mode ScatterMode, name string) Tensor
[Full Topic]
func (Graph) ScatterNDWithUpdatesTensorIndicesTensorShapeBatchDimensionsName ¶
func (g_ Graph) ScatterNDWithUpdatesTensorIndicesTensorShapeBatchDimensionsName(updatesTensor ITensor, indicesTensor ITensor, shape *foundation.Array, batchDimensions uint, name string) Tensor
[Full Topic]
func (Graph) ScatterWithDataTensorUpdatesTensorIndicesTensorAxisModeName ¶
func (g_ Graph) ScatterWithDataTensorUpdatesTensorIndicesTensorAxisModeName(dataTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, axis int, mode ScatterMode, name string) Tensor
[Full Topic]
func (Graph) ScatterWithUpdatesTensorIndicesTensorShapeAxisModeName ¶
func (g_ Graph) ScatterWithUpdatesTensorIndicesTensorShapeAxisModeName(updatesTensor ITensor, indicesTensor ITensor, shape *foundation.Array, axis int, mode ScatterMode, name string) Tensor
[Full Topic]
func (Graph) SelectWithPredicateTensorTruePredicateTensorFalsePredicateTensorName ¶
func (g_ Graph) SelectWithPredicateTensorTruePredicateTensorFalsePredicateTensorName(predicateTensor ITensor, truePredicateTensor ITensor, falseSelectTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) ShapeOfTensorName ¶
[Full Topic]
func (Graph) SigmoidGradientWithIncomingGradientSourceTensorName ¶
func (g_ Graph) SigmoidGradientWithIncomingGradientSourceTensorName(gradient ITensor, source ITensor, name string) Tensor
[Full Topic]
func (Graph) SigmoidWithTensorName ¶
[Full Topic]
func (Graph) SignWithTensorName ¶
[Full Topic]
func (Graph) SignbitWithTensorName ¶
[Full Topic]
func (Graph) SinWithTensorName ¶
[Full Topic]
func (Graph) SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateInitStateDescriptorName ¶
func (g_ Graph) SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateInitStateDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, initState ITensor, descriptor ISingleGateRNNDescriptor, name string) []Tensor
[Full Topic]
func (Graph) SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateInputWeightBiasInitStateDescriptorName ¶
func (g_ Graph) SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateInputWeightBiasInitStateDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, inputWeight ITensor, bias ITensor, initState ITensor, descriptor ISingleGateRNNDescriptor, name string) []Tensor
[Full Topic]
func (Graph) SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateInputWeightBiasInitStateMaskDescriptorName ¶
func (g_ Graph) SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateInputWeightBiasInitStateMaskDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, inputWeight ITensor, bias ITensor, initState ITensor, mask ITensor, descriptor ISingleGateRNNDescriptor, name string) []Tensor
[Full Topic]
func (Graph) SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateStateGradientInputWeightBiasInitStateMaskDescriptorName ¶
func (g_ Graph) SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateStateGradientInputWeightBiasInitStateMaskDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, stateGradient ITensor, inputWeight ITensor, bias ITensor, initState ITensor, mask ITensor, descriptor ISingleGateRNNDescriptor, name string) []Tensor
[Full Topic]
func (Graph) SingleGateRNNWithSourceTensorRecurrentWeightInitStateDescriptorName ¶
func (g_ Graph) SingleGateRNNWithSourceTensorRecurrentWeightInitStateDescriptorName(source ITensor, recurrentWeight ITensor, initState ITensor, descriptor ISingleGateRNNDescriptor, name string) []Tensor
[Full Topic]
func (Graph) SingleGateRNNWithSourceTensorRecurrentWeightInputWeightBiasInitStateDescriptorName ¶
func (g_ Graph) SingleGateRNNWithSourceTensorRecurrentWeightInputWeightBiasInitStateDescriptorName(source ITensor, recurrentWeight ITensor, inputWeight ITensor, bias ITensor, initState ITensor, descriptor ISingleGateRNNDescriptor, name string) []Tensor
[Full Topic]
func (Graph) SingleGateRNNWithSourceTensorRecurrentWeightInputWeightBiasInitStateMaskDescriptorName ¶
func (g_ Graph) SingleGateRNNWithSourceTensorRecurrentWeightInputWeightBiasInitStateMaskDescriptorName(source ITensor, recurrentWeight ITensor, inputWeight ITensor, bias ITensor, initState ITensor, mask ITensor, descriptor ISingleGateRNNDescriptor, name string) []Tensor
[Full Topic]
func (Graph) SinhWithTensorName ¶
[Full Topic]
func (Graph) SliceGradientTensorFwdInShapeTensorStartsEndsStridesName ¶
func (g_ Graph) SliceGradientTensorFwdInShapeTensorStartsEndsStridesName(inputGradientTensor ITensor, fwdInShapeTensor ITensor, starts []foundation.INumber, ends []foundation.INumber, strides []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) SliceGradientTensorFwdInShapeTensorStartsEndsStridesStartMaskEndMaskSqueezeMaskName ¶
func (g_ Graph) SliceGradientTensorFwdInShapeTensorStartsEndsStridesStartMaskEndMaskSqueezeMaskName(inputGradientTensor ITensor, fwdInShapeTensor ITensor, starts []foundation.INumber, ends []foundation.INumber, strides []foundation.INumber, startMask uint32, endMask uint32, squeezeMask uint32, name string) Tensor
[Full Topic]
func (Graph) SliceTensorDimensionStartLengthName ¶
func (g_ Graph) SliceTensorDimensionStartLengthName(tensor ITensor, dimensionIndex uint, start int, length int, name string) Tensor
[Full Topic]
func (Graph) SliceTensorStartsEndsStridesName ¶
func (g_ Graph) SliceTensorStartsEndsStridesName(tensor ITensor, starts []foundation.INumber, ends []foundation.INumber, strides []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) SliceTensorStartsEndsStridesStartMaskEndMaskSqueezeMaskName ¶
func (g_ Graph) SliceTensorStartsEndsStridesStartMaskEndMaskSqueezeMaskName(tensor ITensor, starts []foundation.INumber, ends []foundation.INumber, strides []foundation.INumber, startMask uint32, endMask uint32, squeezeMask uint32, name string) Tensor
[Full Topic]
func (Graph) SoftMaxCrossEntropyGradientWithIncomingGradientTensorSourceTensorLabelsTensorAxisReductionTypeName ¶
func (g_ Graph) SoftMaxCrossEntropyGradientWithIncomingGradientTensorSourceTensorLabelsTensorAxisReductionTypeName(gradientTensor ITensor, sourceTensor ITensor, labelsTensor ITensor, axis int, reductionType LossReductionType, name string) Tensor
[Full Topic]
func (Graph) SoftMaxCrossEntropyWithSourceTensorLabelsTensorAxisReductionTypeName ¶
func (g_ Graph) SoftMaxCrossEntropyWithSourceTensorLabelsTensorAxisReductionTypeName(sourceTensor ITensor, labelsTensor ITensor, axis int, reductionType LossReductionType, name string) Tensor
[Full Topic]
func (Graph) SoftMaxGradientWithIncomingGradientSourceTensorAxisName ¶
func (g_ Graph) SoftMaxGradientWithIncomingGradientSourceTensorAxisName(gradient ITensor, source ITensor, axis int, name string) Tensor
[Full Topic]
func (Graph) SoftMaxWithTensorAxisName ¶
[Full Topic]
func (Graph) SpaceToDepth2DTensorWidthAxisHeightAxisDepthAxisBlockSizeUsePixelShuffleOrderName ¶
func (g_ Graph) SpaceToDepth2DTensorWidthAxisHeightAxisDepthAxisBlockSizeUsePixelShuffleOrderName(tensor ITensor, widthAxis uint, heightAxis uint, depthAxis uint, blockSize uint, usePixelShuffleOrder bool, name string) Tensor
[Full Topic]
func (Graph) SpaceToDepth2DTensorWidthAxisTensorHeightAxisTensorDepthAxisTensorBlockSizeUsePixelShuffleOrderName ¶
func (g_ Graph) SpaceToDepth2DTensorWidthAxisTensorHeightAxisTensorDepthAxisTensorBlockSizeUsePixelShuffleOrderName(tensor ITensor, widthAxisTensor ITensor, heightAxisTensor ITensor, depthAxisTensor ITensor, blockSize uint, usePixelShuffleOrder bool, name string) Tensor
[Full Topic]
func (Graph) SparseTensorWithDescriptorTensorsShapeName ¶
func (g_ Graph) SparseTensorWithDescriptorTensorsShapeName(sparseDescriptor ICreateSparseOpDescriptor, inputTensorArray []ITensor, shape *foundation.Array, name string) Tensor
[Full Topic]
func (Graph) SparseTensorWithTypeTensorsShapeDataTypeName ¶
func (g_ Graph) SparseTensorWithTypeTensorsShapeDataTypeName(sparseStorageType SparseStorageType, inputTensorArray []ITensor, shape *foundation.Array, dataType mps.DataType, name string) Tensor
[Full Topic]
func (Graph) SplitTensorNumSplitsAxisName ¶
func (g_ Graph) SplitTensorNumSplitsAxisName(tensor ITensor, numSplits uint, axis int, name string) []Tensor
[Full Topic]
func (Graph) SplitTensorSplitSizesAxisName ¶
func (g_ Graph) SplitTensorSplitSizesAxisName(tensor ITensor, splitSizes []foundation.INumber, axis int, name string) []Tensor
[Full Topic]
func (Graph) SplitTensorSplitSizesTensorAxisName ¶
func (g_ Graph) SplitTensorSplitSizesTensorAxisName(tensor ITensor, splitSizesTensor ITensor, axis int, name string) []Tensor
[Full Topic]
func (Graph) SquareRootWithTensorName ¶
[Full Topic]
func (Graph) SquareWithTensorName ¶
[Full Topic]
func (Graph) SqueezeTensorAxesName ¶
func (g_ Graph) SqueezeTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) SqueezeTensorAxesTensorName ¶
[Full Topic]
func (Graph) SqueezeTensorAxisName ¶
[Full Topic]
func (Graph) SqueezeTensorName ¶
[Full Topic]
func (Graph) StackTensorsAxisName ¶
[Full Topic]
func (Graph) StencilWithSourceTensorWeightsTensorDescriptorName ¶
func (g_ Graph) StencilWithSourceTensorWeightsTensorDescriptorName(source ITensor, weights ITensor, descriptor IStencilOpDescriptor, name string) Tensor
[Full Topic]
func (Graph) StochasticGradientDescentWithLearningRateTensorValuesTensorGradientTensorName ¶
func (g_ Graph) StochasticGradientDescentWithLearningRateTensorValuesTensorGradientTensorName(learningRateTensor ITensor, valuesTensor ITensor, gradientTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) SubtractionWithPrimaryTensorSecondaryTensorName ¶
func (g_ Graph) SubtractionWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) TanWithTensorName ¶
[Full Topic]
func (Graph) TanhWithTensorName ¶
[Full Topic]
func (Graph) TileGradientWithIncomingGradientTensorSourceTensorWithMultiplierName ¶
func (g_ Graph) TileGradientWithIncomingGradientTensorSourceTensorWithMultiplierName(incomingGradientTensor ITensor, sourceTensor ITensor, multiplier *foundation.Array, name string) Tensor
[Full Topic]
func (Graph) TileTensorWithMultiplierName ¶
func (g_ Graph) TileTensorWithMultiplierName(tensor ITensor, multiplier *foundation.Array, name string) Tensor
[Full Topic]
func (Graph) TopKWithGradientTensorSourceKName ¶
func (g_ Graph) TopKWithGradientTensorSourceKName(gradient ITensor, source ITensor, k uint, name string) Tensor
[Full Topic]
func (Graph) TopKWithGradientTensorSourceKTensorName ¶
func (g_ Graph) TopKWithGradientTensorSourceKTensorName(gradient ITensor, source ITensor, kTensor ITensor, name string) Tensor
[Full Topic]
func (Graph) TopKWithSourceTensorKName ¶
[Full Topic]
func (Graph) TopKWithSourceTensorKTensorName ¶
func (g_ Graph) TopKWithSourceTensorKTensorName(source ITensor, kTensor ITensor, name string) []Tensor
[Full Topic]
func (Graph) TransposeTensorDimensionWithDimensionName ¶
func (g_ Graph) TransposeTensorDimensionWithDimensionName(tensor ITensor, dimensionIndex uint, dimensionIndex2 uint, name string) Tensor
[Full Topic]
func (Graph) VariableWithDataShapeDataTypeName ¶
func (g_ Graph) VariableWithDataShapeDataTypeName(data []byte, shape *foundation.Array, dataType mps.DataType, name string) Tensor
[Full Topic]
func (Graph) VarianceOfTensorAxesName ¶
func (g_ Graph) VarianceOfTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) VarianceOfTensorMeanTensorAxesName ¶
func (g_ Graph) VarianceOfTensorMeanTensorAxesName(tensor ITensor, meanTensor ITensor, axes []foundation.INumber, name string) Tensor
[Full Topic]
func (Graph) WhileWithInitialInputsBeforeAfterName ¶
func (g_ Graph) WhileWithInitialInputsBeforeAfterName(initialInputs []ITensor, before WhileBeforeBlock, after WhileAfterBlock, name string) []Tensor
[Full Topic]
type ICompilationDescriptor ¶
type ICompilationDescriptor interface { objc.IObject DisableTypeInference() OptimizationLevel() Optimization SetOptimizationLevel(value Optimization) }
An interface definition for the CompilationDescriptor class.
type IConvolution2DOpDescriptor ¶
type IConvolution2DOpDescriptor interface { objc.IObject SetExplicitPaddingWithPaddingLeftPaddingRightPaddingTopPaddingBottom(paddingLeft uint, paddingRight uint, paddingTop uint, paddingBottom uint) Groups() uint SetGroups(value uint) DilationRateInY() uint SetDilationRateInY(value uint) DataLayout() TensorNamedDataLayout SetDataLayout(value TensorNamedDataLayout) PaddingStyle() PaddingStyle SetPaddingStyle(value PaddingStyle) PaddingBottom() uint SetPaddingBottom(value uint) WeightsLayout() TensorNamedDataLayout SetWeightsLayout(value TensorNamedDataLayout) PaddingTop() uint SetPaddingTop(value uint) StrideInX() uint SetStrideInX(value uint) StrideInY() uint SetStrideInY(value uint) PaddingLeft() uint SetPaddingLeft(value uint) PaddingRight() uint SetPaddingRight(value uint) DilationRateInX() uint SetDilationRateInX(value uint) }
An interface definition for the Convolution2DOpDescriptor class.
type ICreateSparseOpDescriptor ¶
type ICreateSparseOpDescriptor interface { objc.IObject SparseStorageType() SparseStorageType SetSparseStorageType(value SparseStorageType) DataType() mps.DataType SetDataType(value mps.DataType) }
An interface definition for the CreateSparseOpDescriptor class.
type IDepthwiseConvolution2DOpDescriptor ¶
type IDepthwiseConvolution2DOpDescriptor interface { objc.IObject SetExplicitPaddingWithPaddingLeftPaddingRightPaddingTopPaddingBottom(paddingLeft uint, paddingRight uint, paddingTop uint, paddingBottom uint) WeightsLayout() TensorNamedDataLayout SetWeightsLayout(value TensorNamedDataLayout) PaddingRight() uint SetPaddingRight(value uint) StrideInY() uint SetStrideInY(value uint) StrideInX() uint SetStrideInX(value uint) DilationRateInY() uint SetDilationRateInY(value uint) DataLayout() TensorNamedDataLayout SetDataLayout(value TensorNamedDataLayout) PaddingLeft() uint SetPaddingLeft(value uint) PaddingBottom() uint SetPaddingBottom(value uint) DilationRateInX() uint SetDilationRateInX(value uint) PaddingStyle() PaddingStyle SetPaddingStyle(value PaddingStyle) PaddingTop() uint SetPaddingTop(value uint) }
An interface definition for the DepthwiseConvolution2DOpDescriptor class.
type IDepthwiseConvolution3DOpDescriptor ¶
type IDepthwiseConvolution3DOpDescriptor interface { objc.IObject ChannelDimensionIndex() int SetChannelDimensionIndex(value int) DilationRates() []foundation.Number SetDilationRates(value []foundation.INumber) Strides() []foundation.Number SetStrides(value []foundation.INumber) PaddingValues() []foundation.Number SetPaddingValues(value []foundation.INumber) PaddingStyle() PaddingStyle SetPaddingStyle(value PaddingStyle) }
An interface definition for the DepthwiseConvolution3DOpDescriptor class.
type IDevice ¶
type IDevice interface { objc.IObject MetalDevice() metal.DeviceObject Type() DeviceType }
An interface definition for the Device class.
type IExecutable ¶
type IExecutable interface { objc.IObject RunWithMTLCommandQueueInputsArrayResultsArrayExecutionDescriptor(commandQueue metal.PCommandQueue, inputsArray []ITensorData, resultsArray []ITensorData, executionDescriptor IExecutableExecutionDescriptor) []TensorData RunWithMTLCommandQueueObjectInputsArrayResultsArrayExecutionDescriptor(commandQueueObject objc.IObject, inputsArray []ITensorData, resultsArray []ITensorData, executionDescriptor IExecutableExecutionDescriptor) []TensorData RunAsyncWithMTLCommandQueueInputsArrayResultsArrayExecutionDescriptor(commandQueue metal.PCommandQueue, inputsArray []ITensorData, resultsArray []ITensorData, executionDescriptor IExecutableExecutionDescriptor) []TensorData RunAsyncWithMTLCommandQueueObjectInputsArrayResultsArrayExecutionDescriptor(commandQueueObject objc.IObject, inputsArray []ITensorData, resultsArray []ITensorData, executionDescriptor IExecutableExecutionDescriptor) []TensorData SpecializeWithDeviceInputTypesCompilationDescriptor(device IDevice, inputTypes []IType, compilationDescriptor ICompilationDescriptor) EncodeToCommandBufferInputsArrayResultsArrayExecutionDescriptor(commandBuffer mps.ICommandBuffer, inputsArray []ITensorData, resultsArray []ITensorData, executionDescriptor IExecutableExecutionDescriptor) []TensorData Options() Options SetOptions(value Options) TargetTensors() []Tensor FeedTensors() []Tensor }
An interface definition for the Executable class.
type IExecutableExecutionDescriptor ¶
type IExecutableExecutionDescriptor interface { objc.IObject WaitUntilCompleted() bool SetWaitUntilCompleted(value bool) CompletionHandler() ExecutableCompletionHandler SetCompletionHandler(value ExecutableCompletionHandler) ScheduledHandler() ExecutableScheduledHandler SetScheduledHandler(value ExecutableScheduledHandler) }
An interface definition for the ExecutableExecutionDescriptor class.
type IExecutionDescriptor ¶
type IExecutionDescriptor interface { objc.IObject WaitUntilCompleted() bool SetWaitUntilCompleted(value bool) ScheduledHandler() ScheduledHandler SetScheduledHandler(value ScheduledHandler) CompilationDescriptor() CompilationDescriptor SetCompilationDescriptor(value ICompilationDescriptor) CompletionHandler() CompletionHandler SetCompletionHandler(value CompletionHandler) }
An interface definition for the ExecutionDescriptor class.
type IGraph ¶
type IGraph interface { objc.IObject RoundWithTensorName(tensor ITensor, name string) Tensor DepthwiseConvolution3DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeDescriptorName(incomingGradient ITensor, weights ITensor, outputShape *foundation.Array, descriptor IDepthwiseConvolution3DOpDescriptor, name string) Tensor SoftMaxWithTensorAxisName(tensor ITensor, axis int, name string) Tensor TopKWithSourceTensorKTensorName(source ITensor, kTensor ITensor, name string) []Tensor CastTensorToTypeName(tensor ITensor, type_ mps.DataType, name string) Tensor AtanWithTensorName(tensor ITensor, name string) Tensor AvgPooling2DGradientWithGradientTensorSourceTensorDescriptorName(gradient ITensor, source ITensor, descriptor IPooling2DOpDescriptor, name string) Tensor IdentityWithTensorName(tensor ITensor, name string) Tensor PlaceholderWithShapeDataTypeName(shape *foundation.Array, dataType mps.DataType, name string) Tensor ReductionMaximumPropagateNaNWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor DepthwiseConvolution2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeDescriptorName(incomingGradient ITensor, weights ITensor, outputShape *foundation.Array, descriptor IDepthwiseConvolution2DOpDescriptor, name string) Tensor ScatterWithUpdatesTensorIndicesTensorShapeAxisModeName(updatesTensor ITensor, indicesTensor ITensor, shape *foundation.Array, axis int, mode ScatterMode, name string) Tensor SigmoidGradientWithIncomingGradientSourceTensorName(gradient ITensor, source ITensor, name string) Tensor FloorWithTensorName(tensor ITensor, name string) Tensor ReductionMaximumPropagateNaNWithTensorAxisName(tensor ITensor, axis int, name string) Tensor Atan2WithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor GreaterThanOrEqualToWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor GradientForPrimaryTensorWithTensorsName(primaryTensor ITensor, tensors []ITensor, name string) foundation.Dictionary RunAsyncWithMTLCommandQueueFeedsTargetOperationsResultsDictionaryExecutionDescriptor(commandQueue metal.PCommandQueue, feeds *foundation.Dictionary, targetOperations []IOperation, resultsDictionary *foundation.Dictionary, executionDescriptor IExecutionDescriptor) RunAsyncWithMTLCommandQueueObjectFeedsTargetOperationsResultsDictionaryExecutionDescriptor(commandQueueObject objc.IObject, feeds *foundation.Dictionary, targetOperations []IOperation, resultsDictionary *foundation.Dictionary, executionDescriptor IExecutionDescriptor) DivisionWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor PowerWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor GatherAlongAxisTensorWithUpdatesTensorIndicesTensorName(axisTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, name string) Tensor Convolution2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeForwardConvolutionDescriptorName(incomingGradient ITensor, weights ITensor, outputShape *foundation.Array, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor AcosWithTensorName(tensor ITensor, name string) Tensor MeanOfTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor LessThanOrEqualToWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateInputWeightBiasInitStateMaskDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, inputWeight ITensor, bias ITensor, initState ITensor, mask ITensor, descriptor ISingleGateRNNDescriptor, name string) []Tensor SliceTensorDimensionStartLengthName(tensor ITensor, dimensionIndex uint, start int, length int, name string) Tensor SliceTensorStartsEndsStridesStartMaskEndMaskSqueezeMaskName(tensor ITensor, starts []foundation.INumber, ends []foundation.INumber, strides []foundation.INumber, startMask uint32, endMask uint32, squeezeMask uint32, name string) Tensor NormalizationBetaGradientWithIncomingGradientTensorSourceTensorReductionAxesName(incomingGradientTensor ITensor, sourceTensor ITensor, axes []foundation.INumber, name string) Tensor ExpandDimsOfTensorAxesTensorName(tensor ITensor, axesTensor ITensor, name string) Tensor RandomTensorWithShapeDescriptorStateTensorName(shape *foundation.Array, descriptor IRandomOpDescriptor, state ITensor, name string) []Tensor SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateStateGradientInputWeightBiasInitStateMaskDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, stateGradient ITensor, inputWeight ITensor, bias ITensor, initState ITensor, mask ITensor, descriptor ISingleGateRNNDescriptor, name string) []Tensor Convolution2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeTensorForwardConvolutionDescriptorName(gradient ITensor, weights ITensor, outputShapeTensor ITensor, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor NormalizationGammaGradientWithIncomingGradientTensorSourceTensorMeanTensorVarianceTensorReductionAxesEpsilonName(incomingGradientTensor ITensor, sourceTensor ITensor, meanTensor ITensor, varianceTensor ITensor, axes []foundation.INumber, epsilon float64, name string) Tensor CompileWithDeviceFeedsTargetTensorsTargetOperationsCompilationDescriptor(device IDevice, feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation, compilationDescriptor ICompilationDescriptor) Executable Flatten2DTensorAxisName(tensor ITensor, axis int, name string) Tensor LogicalXNORWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor ConcatTensorsDimensionInterleaveName(tensors []ITensor, dimensionIndex int, interleave bool, name string) Tensor RunWithFeedsTargetTensorsTargetOperations(feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation) *foundation.Dictionary ControlDependencyWithOperationsDependentBlockName(operations []IOperation, dependentBlock ControlFlowDependencyBlock, name string) []Tensor ReverseTensorAxesTensorName(tensor ITensor, axesTensor ITensor, name string) Tensor AvgPooling2DWithSourceTensorDescriptorName(source ITensor, descriptor IPooling2DOpDescriptor, name string) Tensor OneHotWithIndicesTensorDepthAxisName(indicesTensor ITensor, depth uint, axis uint, name string) Tensor SignWithTensorName(tensor ITensor, name string) Tensor CoordinateAlongAxisTensorWithShapeTensorName(axisTensor ITensor, shapeTensor ITensor, name string) Tensor ExponentBase2WithTensorName(tensor ITensor, name string) Tensor ReductionMinimumWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor DepthwiseConvolution3DWithSourceTensorWeightsTensorDescriptorName(source ITensor, weights ITensor, descriptor IDepthwiseConvolution3DOpDescriptor, name string) Tensor IsNaNWithTensorName(tensor ITensor, name string) Tensor LogicalORWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor ForLoopWithLowerBoundUpperBoundStepInitialBodyArgumentsBodyName(lowerBound ITensor, upperBound ITensor, step ITensor, initialBodyArguments []ITensor, body ForLoopBodyBlock, name string) []Tensor ReductionOrWithTensorAxisName(tensor ITensor, axis int, name string) Tensor RandomPhiloxStateTensorWithSeedName(seed uint, name string) Tensor RandomTensorWithShapeTensorDescriptorSeedName(shapeTensor ITensor, descriptor IRandomOpDescriptor, seed uint, name string) Tensor MaxPooling2DWithSourceTensorDescriptorName(source ITensor, descriptor IPooling2DOpDescriptor, name string) Tensor ReLUWithTensorName(tensor ITensor, name string) Tensor TileTensorWithMultiplierName(tensor ITensor, multiplier *foundation.Array, name string) Tensor LogicalANDWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor StochasticGradientDescentWithLearningRateTensorValuesTensorGradientTensorName(learningRateTensor ITensor, valuesTensor ITensor, gradientTensor ITensor, name string) Tensor TopKWithSourceTensorKName(source ITensor, k uint, name string) []Tensor EqualWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor AvgPooling4DGradientWithGradientTensorSourceTensorDescriptorName(gradient ITensor, source ITensor, descriptor IPooling4DOpDescriptor, name string) Tensor LessThanWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor RunWithMTLCommandQueueFeedsTargetTensorsTargetOperations(commandQueue metal.PCommandQueue, feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation) *foundation.Dictionary RunWithMTLCommandQueueObjectFeedsTargetTensorsTargetOperations(commandQueueObject objc.IObject, feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation) *foundation.Dictionary ReductionMaximumWithTensorAxisName(tensor ITensor, axis int, name string) Tensor LeakyReLUWithTensorAlphaName(tensor ITensor, alpha float64, name string) Tensor LSTMWithSourceTensorRecurrentWeightInitStateInitCellDescriptorName(source ITensor, recurrentWeight ITensor, initState ITensor, initCell ITensor, descriptor ILSTMDescriptor, name string) []Tensor SquareWithTensorName(tensor ITensor, name string) Tensor ErfWithTensorName(tensor ITensor, name string) Tensor ReductionMaximumWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor ExpandDimsOfTensorAxisName(tensor ITensor, axis int, name string) Tensor OneHotWithIndicesTensorDepthDataTypeOnValueOffValueName(indicesTensor ITensor, depth uint, dataType mps.DataType, onValue float64, offValue float64, name string) Tensor AsinhWithTensorName(tensor ITensor, name string) Tensor MultiplicationWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor DepthwiseConvolution2DWithSourceTensorWeightsTensorDescriptorName(source ITensor, weights ITensor, descriptor IDepthwiseConvolution2DOpDescriptor, name string) Tensor RandomUniformTensorWithShapeTensorName(shapeTensor ITensor, name string) Tensor WhileWithInitialInputsBeforeAfterName(initialInputs []ITensor, before WhileBeforeBlock, after WhileAfterBlock, name string) []Tensor StencilWithSourceTensorWeightsTensorDescriptorName(source ITensor, weights ITensor, descriptor IStencilOpDescriptor, name string) Tensor SliceGradientTensorFwdInShapeTensorStartsEndsStridesName(inputGradientTensor ITensor, fwdInShapeTensor ITensor, starts []foundation.INumber, ends []foundation.INumber, strides []foundation.INumber, name string) Tensor SqueezeTensorAxisName(tensor ITensor, axis int, name string) Tensor RandomTensorWithShapeTensorDescriptorName(shapeTensor ITensor, descriptor IRandomOpDescriptor, name string) Tensor ConstantWithScalarShapeDataType(scalar float64, shape *foundation.Array, dataType mps.DataType) Tensor ScatterNDWithUpdatesTensorIndicesTensorShapeBatchDimensionsName(updatesTensor ITensor, indicesTensor ITensor, shape *foundation.Array, batchDimensions uint, name string) Tensor TileGradientWithIncomingGradientTensorSourceTensorWithMultiplierName(incomingGradientTensor ITensor, sourceTensor ITensor, multiplier *foundation.Array, name string) Tensor ReductionMinimumWithTensorAxisName(tensor ITensor, axis int, name string) Tensor VarianceOfTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor ClampWithTensorMinValueTensorMaxValueTensorName(tensor ITensor, minValueTensor ITensor, maxValueTensor ITensor, name string) Tensor SigmoidWithTensorName(tensor ITensor, name string) Tensor SinhWithTensorName(tensor ITensor, name string) Tensor MaxPooling4DGradientWithGradientTensorSourceTensorDescriptorName(gradient ITensor, source ITensor, descriptor IPooling4DOpDescriptor, name string) Tensor ScatterWithDataTensorUpdatesTensorIndicesTensorAxisModeName(dataTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, axis int, mode ScatterMode, name string) Tensor SpaceToDepth2DTensorWidthAxisHeightAxisDepthAxisBlockSizeUsePixelShuffleOrderName(tensor ITensor, widthAxis uint, heightAxis uint, depthAxis uint, blockSize uint, usePixelShuffleOrder bool, name string) Tensor LogicalNANDWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor AssignVariableWithValueOfTensorName(variable ITensor, tensor ITensor, name string) Operation ReductionSumWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor ScatterAlongAxisWithUpdatesTensorIndicesTensorShapeModeName(axis int, updatesTensor ITensor, indicesTensor ITensor, shape *foundation.Array, mode ScatterMode, name string) Tensor SplitTensorNumSplitsAxisName(tensor ITensor, numSplits uint, axis int, name string) []Tensor ConvolutionTranspose2DWithSourceTensorWeightsTensorOutputShapeDescriptorName(source ITensor, weights ITensor, outputShape *foundation.Array, descriptor IConvolution2DOpDescriptor, name string) Tensor SignbitWithTensorName(tensor ITensor, name string) Tensor DropoutTensorRateTensorName(tensor ITensor, rate ITensor, name string) Tensor NotEqualWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor FloorModuloWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor CoordinateAlongAxisTensorWithShapeName(axisTensor ITensor, shape *foundation.Array, name string) Tensor NotWithTensorName(tensor ITensor, name string) Tensor ConvolutionTranspose2DWithSourceTensorWeightsTensorOutputShapeTensorDescriptorName(source ITensor, weights ITensor, outputShape ITensor, descriptor IConvolution2DOpDescriptor, name string) Tensor DepthToSpace2DTensorWidthAxisHeightAxisDepthAxisBlockSizeUsePixelShuffleOrderName(tensor ITensor, widthAxis uint, heightAxis uint, depthAxis uint, blockSize uint, usePixelShuffleOrder bool, name string) Tensor Convolution2DWithSourceTensorWeightsTensorDescriptorName(source ITensor, weights ITensor, descriptor IConvolution2DOpDescriptor, name string) Tensor ReLUGradientWithIncomingGradientSourceTensorName(gradient ITensor, source ITensor, name string) Tensor RunWithMTLCommandQueueFeedsTargetOperationsResultsDictionary(commandQueue metal.PCommandQueue, feeds *foundation.Dictionary, targetOperations []IOperation, resultsDictionary *foundation.Dictionary) RunWithMTLCommandQueueObjectFeedsTargetOperationsResultsDictionary(commandQueueObject objc.IObject, feeds *foundation.Dictionary, targetOperations []IOperation, resultsDictionary *foundation.Dictionary) LeakyReLUGradientWithIncomingGradientSourceTensorAlphaTensorName(gradient ITensor, source ITensor, alphaTensor ITensor, name string) Tensor OneHotWithIndicesTensorDepthName(indicesTensor ITensor, depth uint, name string) Tensor MaxPooling4DWithSourceTensorDescriptorName(source ITensor, descriptor IPooling4DOpDescriptor, name string) Tensor GatherNDWithUpdatesTensorIndicesTensorBatchDimensionsName(updatesTensor ITensor, indicesTensor ITensor, batchDimensions uint, name string) Tensor PadTensorWithPaddingModeLeftPaddingRightPaddingConstantValueName(tensor ITensor, paddingMode PaddingMode, leftPadding *foundation.Array, rightPadding *foundation.Array, constantValue float64, name string) Tensor ReductionArgMaximumWithTensorAxisName(tensor ITensor, axis int, name string) Tensor LogarithmBase10WithTensorName(tensor ITensor, name string) Tensor LogicalNORWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor MaxPooling2DReturnIndicesWithSourceTensorDescriptorName(source ITensor, descriptor IPooling2DOpDescriptor, name string) []Tensor MaxPooling2DGradientWithGradientTensorSourceTensorDescriptorName(gradient ITensor, source ITensor, descriptor IPooling2DOpDescriptor, name string) Tensor ResizeTensorSizeTensorModeCenterResultAlignCornersLayoutName(imagesTensor ITensor, size ITensor, mode ResizeMode, centerResult bool, alignCorners bool, layout TensorNamedDataLayout, name string) Tensor SparseTensorWithDescriptorTensorsShapeName(sparseDescriptor ICreateSparseOpDescriptor, inputTensorArray []ITensor, shape *foundation.Array, name string) Tensor LogicalXORWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor ReshapeTensorWithShapeTensorName(tensor ITensor, shapeTensor ITensor, name string) Tensor BandPartWithTensorNumLowerNumUpperName(inputTensor ITensor, numLower int, numUpper int, name string) Tensor TopKWithGradientTensorSourceKName(gradient ITensor, source ITensor, k uint, name string) Tensor SqueezeTensorName(tensor ITensor, name string) Tensor AbsoluteWithTensorName(tensor ITensor, name string) Tensor SquareRootWithTensorName(tensor ITensor, name string) Tensor ResizeTensorSizeModeCenterResultAlignCornersLayoutName(imagesTensor ITensor, size *foundation.Array, mode ResizeMode, centerResult bool, alignCorners bool, layout TensorNamedDataLayout, name string) Tensor ReductionArgMinimumWithTensorAxisName(tensor ITensor, axis int, name string) Tensor SqueezeTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor ExponentWithTensorName(tensor ITensor, name string) Tensor GreaterThanWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor RandomTensorWithShapeTensorDescriptorStateTensorName(shapeTensor ITensor, descriptor IRandomOpDescriptor, state ITensor, name string) []Tensor LSTMWithSourceTensorRecurrentWeightInputWeightBiasInitStateInitCellMaskPeepholeDescriptorName(source ITensor, recurrentWeight ITensor, inputWeight ITensor, bias ITensor, initState ITensor, initCell ITensor, mask ITensor, peephole ITensor, descriptor ILSTMDescriptor, name string) []Tensor SingleGateRNNWithSourceTensorRecurrentWeightInitStateDescriptorName(source ITensor, recurrentWeight ITensor, initState ITensor, descriptor ISingleGateRNNDescriptor, name string) []Tensor ShapeOfTensorName(tensor ITensor, name string) Tensor ReductionAndWithTensorAxisName(tensor ITensor, axis int, name string) Tensor SplitTensorSplitSizesAxisName(tensor ITensor, splitSizes []foundation.INumber, axis int, name string) []Tensor DropoutTensorRateName(tensor ITensor, rate float64, name string) Tensor TopKWithGradientTensorSourceKTensorName(gradient ITensor, source ITensor, kTensor ITensor, name string) Tensor CoshWithTensorName(tensor ITensor, name string) Tensor RandomUniformTensorWithShapeName(shape *foundation.Array, name string) Tensor ForLoopWithNumberOfIterationsInitialBodyArgumentsBodyName(numberOfIterations ITensor, initialBodyArguments []ITensor, body ForLoopBodyBlock, name string) []Tensor EncodeToCommandBufferFeedsTargetOperationsResultsDictionaryExecutionDescriptor(commandBuffer mps.ICommandBuffer, feeds *foundation.Dictionary, targetOperations []IOperation, resultsDictionary *foundation.Dictionary, executionDescriptor IExecutionDescriptor) LogarithmWithTensorName(tensor ITensor, name string) Tensor NormalizationGradientWithIncomingGradientTensorSourceTensorMeanTensorVarianceTensorGammaTensorGammaGradientTensorBetaGradientTensorReductionAxesEpsilonName(incomingGradientTensor ITensor, sourceTensor ITensor, meanTensor ITensor, varianceTensor ITensor, gamma ITensor, gammaGradient ITensor, betaGradient ITensor, axes []foundation.INumber, epsilon float64, name string) Tensor ConcatTensorWithTensorDimensionName(tensor ITensor, tensor2 ITensor, dimensionIndex int, name string) Tensor ConstantWithScalarDataType(scalar float64, dataType mps.DataType) Tensor ReductionMinimumPropagateNaNWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor IfWithPredicateTensorThenBlockElseBlockName(predicateTensor ITensor, thenBlock IfThenElseBlock, elseBlock IfThenElseBlock, name string) []Tensor SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateInputWeightBiasInitStateDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, inputWeight ITensor, bias ITensor, initState ITensor, descriptor ISingleGateRNNDescriptor, name string) []Tensor NegativeWithTensorName(tensor ITensor, name string) Tensor SingleGateRNNGradientsWithSourceTensorRecurrentWeightSourceGradientZStateInitStateDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, initState ITensor, descriptor ISingleGateRNNDescriptor, name string) []Tensor SoftMaxCrossEntropyWithSourceTensorLabelsTensorAxisReductionTypeName(sourceTensor ITensor, labelsTensor ITensor, axis int, reductionType LossReductionType, name string) Tensor ScatterNDWithUpdatesTensorIndicesTensorShapeBatchDimensionsModeName(updatesTensor ITensor, indicesTensor ITensor, shape *foundation.Array, batchDimensions uint, mode ScatterMode, name string) Tensor ReductionMinimumPropagateNaNWithTensorAxisName(tensor ITensor, axis int, name string) Tensor AsinWithTensorName(tensor ITensor, name string) Tensor ExpandDimsOfTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor GatherWithUpdatesTensorIndicesTensorAxisBatchDimensionsName(updatesTensor ITensor, indicesTensor ITensor, axis uint, batchDimensions uint, name string) Tensor PadGradientWithIncomingGradientTensorSourceTensorPaddingModeLeftPaddingRightPaddingName(incomingGradientTensor ITensor, sourceTensor ITensor, paddingMode PaddingMode, leftPadding *foundation.Array, rightPadding *foundation.Array, name string) Tensor IsInfiniteWithTensorName(tensor ITensor, name string) Tensor SpaceToDepth2DTensorWidthAxisTensorHeightAxisTensorDepthAxisTensorBlockSizeUsePixelShuffleOrderName(tensor ITensor, widthAxisTensor ITensor, heightAxisTensor ITensor, depthAxisTensor ITensor, blockSize uint, usePixelShuffleOrder bool, name string) Tensor ReadVariableName(variable ITensor, name string) Tensor OneHotWithIndicesTensorDepthDataTypeName(indicesTensor ITensor, depth uint, dataType mps.DataType, name string) Tensor RandomUniformTensorWithShapeStateTensorName(shape *foundation.Array, state ITensor, name string) []Tensor MatrixMultiplicationWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor BroadcastTensorToShapeName(tensor ITensor, shape *foundation.Array, name string) Tensor DepthwiseConvolution3DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeDescriptorName(incomingGradient ITensor, source ITensor, outputShape *foundation.Array, descriptor IDepthwiseConvolution3DOpDescriptor, name string) Tensor CeilWithTensorName(tensor ITensor, name string) Tensor ReverseSquareRootWithTensorName(tensor ITensor, name string) Tensor EncodeToCommandBufferFeedsTargetTensorsTargetOperationsExecutionDescriptor(commandBuffer mps.ICommandBuffer, feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation, executionDescriptor IExecutionDescriptor) *foundation.Dictionary TanWithTensorName(tensor ITensor, name string) Tensor ReductionAndWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor SoftMaxCrossEntropyGradientWithIncomingGradientTensorSourceTensorLabelsTensorAxisReductionTypeName(gradientTensor ITensor, sourceTensor ITensor, labelsTensor ITensor, axis int, reductionType LossReductionType, name string) Tensor ConcatTensorsDimensionName(tensors []ITensor, dimensionIndex int, name string) Tensor ReverseTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor RandomTensorWithShapeDescriptorName(shape *foundation.Array, descriptor IRandomOpDescriptor, name string) Tensor LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, cellOutputFwd ITensor, descriptor ILSTMDescriptor, name string) []Tensor VarianceOfTensorMeanTensorAxesName(tensor ITensor, meanTensor ITensor, axes []foundation.INumber, name string) Tensor ReductionProductWithTensorAxisName(tensor ITensor, axis int, name string) Tensor ReductionSumWithTensorAxisName(tensor ITensor, axis int, name string) Tensor LSTMWithSourceTensorRecurrentWeightInputWeightBiasInitStateInitCellDescriptorName(source ITensor, recurrentWeight ITensor, inputWeight ITensor, bias ITensor, initState ITensor, initCell ITensor, descriptor ILSTMDescriptor, name string) []Tensor MaxPooling4DReturnIndicesWithSourceTensorDescriptorName(source ITensor, descriptor IPooling4DOpDescriptor, name string) []Tensor SqueezeTensorAxesTensorName(tensor ITensor, axesTensor ITensor, name string) Tensor ScatterNDWithDataTensorUpdatesTensorIndicesTensorBatchDimensionsModeName(dataTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, batchDimensions uint, mode ScatterMode, name string) Tensor MaximumWithNaNPropagationWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor SingleGateRNNWithSourceTensorRecurrentWeightInputWeightBiasInitStateMaskDescriptorName(source ITensor, recurrentWeight ITensor, inputWeight ITensor, bias ITensor, initState ITensor, mask ITensor, descriptor ISingleGateRNNDescriptor, name string) []Tensor MinimumWithNaNPropagationWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor CoordinateAlongAxisWithShapeTensorName(axis int, shapeTensor ITensor, name string) Tensor LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdStateGradientCellGradientInputWeightBiasInitStateInitCellMaskPeepholeDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, cellOutputFwd ITensor, stateGradient ITensor, cellGradient ITensor, inputWeight ITensor, bias ITensor, initState ITensor, initCell ITensor, mask ITensor, peephole ITensor, descriptor ILSTMDescriptor, name string) []Tensor TanhWithTensorName(tensor ITensor, name string) Tensor RintWithTensorName(tensor ITensor, name string) Tensor GatherAlongAxisWithUpdatesTensorIndicesTensorName(axis int, updatesTensor ITensor, indicesTensor ITensor, name string) Tensor LogarithmBase2WithTensorName(tensor ITensor, name string) Tensor SparseTensorWithTypeTensorsShapeDataTypeName(sparseStorageType SparseStorageType, inputTensorArray []ITensor, shape *foundation.Array, dataType mps.DataType, name string) Tensor ConvolutionTranspose2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeTensorForwardConvolutionDescriptorName(incomingGradient ITensor, weights ITensor, outputShape ITensor, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor ReverseTensorName(tensor ITensor, name string) Tensor ScatterAlongAxisTensorWithDataTensorUpdatesTensorIndicesTensorModeName(axisTensor ITensor, dataTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, mode ScatterMode, name string) Tensor BandPartWithTensorNumLowerTensorNumUpperTensorName(inputTensor ITensor, numLowerTensor ITensor, numUpperTensor ITensor, name string) Tensor RunAsyncWithFeedsTargetTensorsTargetOperationsExecutionDescriptor(feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation, executionDescriptor IExecutionDescriptor) *foundation.Dictionary SplitTensorSplitSizesTensorAxisName(tensor ITensor, splitSizesTensor ITensor, axis int, name string) []Tensor SelectWithPredicateTensorTruePredicateTensorFalsePredicateTensorName(predicateTensor ITensor, truePredicateTensor ITensor, falseSelectTensor ITensor, name string) Tensor SingleGateRNNWithSourceTensorRecurrentWeightInputWeightBiasInitStateDescriptorName(source ITensor, recurrentWeight ITensor, inputWeight ITensor, bias ITensor, initState ITensor, descriptor ISingleGateRNNDescriptor, name string) []Tensor OneHotWithIndicesTensorDepthAxisDataTypeOnValueOffValueName(indicesTensor ITensor, depth uint, axis uint, dataType mps.DataType, onValue float64, offValue float64, name string) Tensor AdditionWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor DivisionNoNaNWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor SliceTensorStartsEndsStridesName(tensor ITensor, starts []foundation.INumber, ends []foundation.INumber, strides []foundation.INumber, name string) Tensor RandomUniformTensorWithShapeTensorStateTensorName(shapeTensor ITensor, state ITensor, name string) []Tensor ApplyStochasticGradientDescentWithLearningRateTensorVariableGradientTensorName(learningRateTensor ITensor, variable IVariableOp, gradientTensor ITensor, name string) Operation AtanhWithTensorName(tensor ITensor, name string) Tensor ModuloWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor DepthwiseConvolution2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeDescriptorName(incomingGradient ITensor, source ITensor, outputShape *foundation.Array, descriptor IDepthwiseConvolution2DOpDescriptor, name string) Tensor ConvolutionTranspose2DDataGradientWithIncomingGradientTensorWeightsTensorOutputShapeForwardConvolutionDescriptorName(incomingGradient ITensor, weights ITensor, outputShape *foundation.Array, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor ReductionProductWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor AcoshWithTensorName(tensor ITensor, name string) Tensor RandomUniformTensorWithShapeTensorSeedName(shapeTensor ITensor, seed uint, name string) Tensor RandomTensorWithShapeDescriptorSeedName(shape *foundation.Array, descriptor IRandomOpDescriptor, seed uint, name string) Tensor NormalizationWithTensorMeanTensorVarianceTensorGammaTensorBetaTensorEpsilonName(tensor ITensor, mean ITensor, variance ITensor, gamma ITensor, beta ITensor, epsilon float64, name string) Tensor CoordinateAlongAxisWithShapeName(axis int, shape *foundation.Array, name string) Tensor ReciprocalWithTensorName(tensor ITensor, name string) Tensor RandomUniformTensorWithShapeSeedName(shape *foundation.Array, seed uint, name string) Tensor Convolution2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeForwardConvolutionDescriptorName(incomingGradient ITensor, source ITensor, outputShape *foundation.Array, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor RandomPhiloxStateTensorWithCounterLowCounterHighKeyName(counterLow uint, counterHigh uint, key uint, name string) Tensor Flatten2DTensorAxisTensorName(tensor ITensor, axisTensor ITensor, name string) Tensor Convolution2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeTensorForwardConvolutionDescriptorName(gradient ITensor, source ITensor, outputShapeTensor ITensor, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor ScatterAlongAxisWithDataTensorUpdatesTensorIndicesTensorModeName(axis int, dataTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, mode ScatterMode, name string) Tensor ConvolutionTranspose2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeForwardConvolutionDescriptorName(incomingGradientTensor ITensor, source ITensor, outputShape *foundation.Array, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor ResizeWithGradientTensorInputModeCenterResultAlignCornersLayoutName(gradient ITensor, input ITensor, mode ResizeMode, centerResult bool, alignCorners bool, layout TensorNamedDataLayout, name string) Tensor RunAsyncWithMTLCommandQueueFeedsTargetTensorsTargetOperationsExecutionDescriptor(commandQueue metal.PCommandQueue, feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation, executionDescriptor IExecutionDescriptor) *foundation.Dictionary RunAsyncWithMTLCommandQueueObjectFeedsTargetTensorsTargetOperationsExecutionDescriptor(commandQueueObject objc.IObject, feeds *foundation.Dictionary, targetTensors []ITensor, targetOperations []IOperation, executionDescriptor IExecutionDescriptor) *foundation.Dictionary SubtractionWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor ConstantWithDataShapeDataType(data []byte, shape *foundation.Array, dataType mps.DataType) Tensor L2NormPooling4DGradientWithGradientTensorSourceTensorDescriptorName(gradient ITensor, source ITensor, descriptor IPooling4DOpDescriptor, name string) Tensor SoftMaxGradientWithIncomingGradientSourceTensorAxisName(gradient ITensor, source ITensor, axis int, name string) Tensor ExponentBase10WithTensorName(tensor ITensor, name string) Tensor ConvolutionTranspose2DWeightsGradientWithIncomingGradientTensorSourceTensorOutputShapeTensorForwardConvolutionDescriptorName(incomingGradientTensor ITensor, source ITensor, outputShape ITensor, forwardConvolutionDescriptor IConvolution2DOpDescriptor, name string) Tensor SinWithTensorName(tensor ITensor, name string) Tensor TransposeTensorDimensionWithDimensionName(tensor ITensor, dimensionIndex uint, dimensionIndex2 uint, name string) Tensor IsFiniteWithTensorName(tensor ITensor, name string) Tensor MaximumWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor L2NormPooling4DWithSourceTensorDescriptorName(source ITensor, descriptor IPooling4DOpDescriptor, name string) Tensor VariableWithDataShapeDataTypeName(data []byte, shape *foundation.Array, dataType mps.DataType, name string) Tensor CosWithTensorName(tensor ITensor, name string) Tensor OneHotWithIndicesTensorDepthAxisDataTypeName(indicesTensor ITensor, depth uint, axis uint, dataType mps.DataType, name string) Tensor PlaceholderWithShapeName(shape *foundation.Array, name string) Tensor LeakyReLUWithTensorAlphaTensorName(tensor ITensor, alphaTensor ITensor, name string) Tensor SliceGradientTensorFwdInShapeTensorStartsEndsStridesStartMaskEndMaskSqueezeMaskName(inputGradientTensor ITensor, fwdInShapeTensor ITensor, starts []foundation.INumber, ends []foundation.INumber, strides []foundation.INumber, startMask uint32, endMask uint32, squeezeMask uint32, name string) Tensor StackTensorsAxisName(inputTensors []ITensor, axis int, name string) Tensor LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdInputWeightBiasInitStateInitCellDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, cellOutputFwd ITensor, inputWeight ITensor, bias ITensor, initState ITensor, initCell ITensor, descriptor ILSTMDescriptor, name string) []Tensor LSTMGradientsWithSourceTensorRecurrentWeightSourceGradientZStateCellOutputFwdInputWeightBiasInitStateInitCellMaskDescriptorName(source ITensor, recurrentWeight ITensor, sourceGradient ITensor, zState ITensor, cellOutputFwd ITensor, inputWeight ITensor, bias ITensor, initState ITensor, initCell ITensor, mask ITensor, descriptor ILSTMDescriptor, name string) []Tensor ScatterAlongAxisTensorWithUpdatesTensorIndicesTensorShapeModeName(axisTensor ITensor, updatesTensor ITensor, indicesTensor ITensor, shape *foundation.Array, mode ScatterMode, name string) Tensor BroadcastTensorToShapeTensorName(tensor ITensor, shapeTensor ITensor, name string) Tensor AvgPooling4DWithSourceTensorDescriptorName(source ITensor, descriptor IPooling4DOpDescriptor, name string) Tensor MinimumWithPrimaryTensorSecondaryTensorName(primaryTensor ITensor, secondaryTensor ITensor, name string) Tensor ReshapeTensorWithShapeName(tensor ITensor, shape *foundation.Array, name string) Tensor DepthToSpace2DTensorWidthAxisTensorHeightAxisTensorDepthAxisTensorBlockSizeUsePixelShuffleOrderName(tensor ITensor, widthAxisTensor ITensor, heightAxisTensor ITensor, depthAxisTensor ITensor, blockSize uint, usePixelShuffleOrder bool, name string) Tensor ReductionOrWithTensorAxesName(tensor ITensor, axes []foundation.INumber, name string) Tensor Options() Options SetOptions(value Options) PlaceholderTensors() []Tensor }
An interface definition for the Graph class.
type ILSTMDescriptor ¶
type ILSTMDescriptor interface { objc.IObject ProduceCell() bool SetProduceCell(value bool) ForgetGateLast() bool SetForgetGateLast(value bool) Bidirectional() bool SetBidirectional(value bool) ForgetGateActivation() RNNActivation SetForgetGateActivation(value RNNActivation) Activation() RNNActivation SetActivation(value RNNActivation) CellGateActivation() RNNActivation SetCellGateActivation(value RNNActivation) Reverse() bool SetReverse(value bool) InputGateActivation() RNNActivation SetInputGateActivation(value RNNActivation) OutputGateActivation() RNNActivation SetOutputGateActivation(value RNNActivation) Training() bool SetTraining(value bool) }
An interface definition for the LSTMDescriptor class.
type IOperation ¶
type IOperation interface { objc.IObject OutputTensors() []Tensor Graph() Graph InputTensors() []Tensor ControlDependencies() []Operation Name() string }
An interface definition for the Operation class.
type IPooling2DOpDescriptor ¶
type IPooling2DOpDescriptor interface { objc.IObject SetExplicitPaddingWithPaddingLeftPaddingRightPaddingTopPaddingBottom(paddingLeft uint, paddingRight uint, paddingTop uint, paddingBottom uint) KernelWidth() uint SetKernelWidth(value uint) StrideInY() uint SetStrideInY(value uint) StrideInX() uint SetStrideInX(value uint) DilationRateInY() uint SetDilationRateInY(value uint) PaddingBottom() uint SetPaddingBottom(value uint) IncludeZeroPadToAverage() bool SetIncludeZeroPadToAverage(value bool) KernelHeight() uint SetKernelHeight(value uint) PaddingTop() uint SetPaddingTop(value uint) ReturnIndicesMode() PoolingReturnIndicesMode SetReturnIndicesMode(value PoolingReturnIndicesMode) DataLayout() TensorNamedDataLayout SetDataLayout(value TensorNamedDataLayout) PaddingRight() uint SetPaddingRight(value uint) DilationRateInX() uint SetDilationRateInX(value uint) PaddingStyle() PaddingStyle SetPaddingStyle(value PaddingStyle) CeilMode() bool SetCeilMode(value bool) PaddingLeft() uint SetPaddingLeft(value uint) ReturnIndicesDataType() mps.DataType SetReturnIndicesDataType(value mps.DataType) }
An interface definition for the Pooling2DOpDescriptor class.
type IPooling4DOpDescriptor ¶
type IPooling4DOpDescriptor interface { objc.IObject Strides() []foundation.Number SetStrides(value []foundation.INumber) IncludeZeroPadToAverage() bool SetIncludeZeroPadToAverage(value bool) ReturnIndicesDataType() mps.DataType SetReturnIndicesDataType(value mps.DataType) KernelSizes() []foundation.Number SetKernelSizes(value []foundation.INumber) DilationRates() []foundation.Number SetDilationRates(value []foundation.INumber) PaddingStyle() PaddingStyle SetPaddingStyle(value PaddingStyle) CeilMode() bool SetCeilMode(value bool) PaddingValues() []foundation.Number SetPaddingValues(value []foundation.INumber) ReturnIndicesMode() PoolingReturnIndicesMode SetReturnIndicesMode(value PoolingReturnIndicesMode) }
An interface definition for the Pooling4DOpDescriptor class.
type IRandomOpDescriptor ¶
type IRandomOpDescriptor interface { objc.IObject DataType() mps.DataType SetDataType(value mps.DataType) Mean() float64 SetMean(value float64) SamplingMethod() RandomNormalSamplingMethod SetSamplingMethod(value RandomNormalSamplingMethod) MinInteger() int SetMinInteger(value int) Min() float64 SetMin(value float64) Distribution() RandomDistribution SetDistribution(value RandomDistribution) StandardDeviation() float64 SetStandardDeviation(value float64) MaxInteger() int SetMaxInteger(value int) Max() float64 SetMax(value float64) }
An interface definition for the RandomOpDescriptor class.
type IShapedType ¶
type IShapedType interface { IType IsEqualTo(object IShapedType) bool DataType() mps.DataType SetDataType(value mps.DataType) Shape() *foundation.Array SetShape(value *foundation.Array) }
An interface definition for the ShapedType class.
type ISingleGateRNNDescriptor ¶
type ISingleGateRNNDescriptor interface { objc.IObject Bidirectional() bool SetBidirectional(value bool) Training() bool SetTraining(value bool) Activation() RNNActivation SetActivation(value RNNActivation) Reverse() bool SetReverse(value bool) }
An interface definition for the SingleGateRNNDescriptor class.
type IStencilOpDescriptor ¶
type IStencilOpDescriptor interface { objc.IObject Strides() *foundation.Array SetStrides(value *foundation.Array) PaddingStyle() PaddingStyle SetPaddingStyle(value PaddingStyle) ExplicitPadding() *foundation.Array SetExplicitPadding(value *foundation.Array) BoundaryMode() PaddingMode SetBoundaryMode(value PaddingMode) PaddingConstant() float64 SetPaddingConstant(value float64) Offsets() *foundation.Array SetOffsets(value *foundation.Array) ReductionMode() ReductionMode SetReductionMode(value ReductionMode) DilationRates() *foundation.Array SetDilationRates(value *foundation.Array) }
An interface definition for the StencilOpDescriptor class.
type ITensor ¶
type ITensor interface { objc.IObject Shape() *foundation.Array Operation() Operation DataType() mps.DataType }
An interface definition for the Tensor class.
type ITensorData ¶
type ITensorData interface { objc.IObject Mpsndarray() mps.NDArray Shape() *foundation.Array Device() Device DataType() mps.DataType }
An interface definition for the TensorData class.
type IVariableOp ¶
type IVariableOp interface { IOperation DataType() mps.DataType Shape() *foundation.Array }
An interface definition for the VariableOp class.
type LSTMDescriptor ¶
[Full Topic]
func LSTMDescriptorFrom ¶
func LSTMDescriptorFrom(ptr unsafe.Pointer) LSTMDescriptor
func NewLSTMDescriptor ¶
func NewLSTMDescriptor() LSTMDescriptor
func (LSTMDescriptor) CellGateActivation ¶
func (l_ LSTMDescriptor) CellGateActivation() RNNActivation
[Full Topic]
func (LSTMDescriptor) ForgetGateActivation ¶
func (l_ LSTMDescriptor) ForgetGateActivation() RNNActivation
[Full Topic]
func (LSTMDescriptor) Init ¶
func (l_ LSTMDescriptor) Init() LSTMDescriptor
func (LSTMDescriptor) InputGateActivation ¶
func (l_ LSTMDescriptor) InputGateActivation() RNNActivation
[Full Topic]
func (LSTMDescriptor) OutputGateActivation ¶
func (l_ LSTMDescriptor) OutputGateActivation() RNNActivation
[Full Topic]
func (LSTMDescriptor) SetActivation ¶
func (l_ LSTMDescriptor) SetActivation(value RNNActivation)
[Full Topic]
func (LSTMDescriptor) SetBidirectional ¶
func (l_ LSTMDescriptor) SetBidirectional(value bool)
[Full Topic]
func (LSTMDescriptor) SetCellGateActivation ¶
func (l_ LSTMDescriptor) SetCellGateActivation(value RNNActivation)
[Full Topic]
func (LSTMDescriptor) SetForgetGateActivation ¶
func (l_ LSTMDescriptor) SetForgetGateActivation(value RNNActivation)
[Full Topic]
func (LSTMDescriptor) SetForgetGateLast ¶
func (l_ LSTMDescriptor) SetForgetGateLast(value bool)
[Full Topic]
func (LSTMDescriptor) SetInputGateActivation ¶
func (l_ LSTMDescriptor) SetInputGateActivation(value RNNActivation)
[Full Topic]
func (LSTMDescriptor) SetOutputGateActivation ¶
func (l_ LSTMDescriptor) SetOutputGateActivation(value RNNActivation)
[Full Topic]
func (LSTMDescriptor) SetProduceCell ¶
func (l_ LSTMDescriptor) SetProduceCell(value bool)
[Full Topic]
type LossReductionType ¶
type LossReductionType uint64
[Full Topic]
const ( LossReductionTypeAxis LossReductionType = 0 LossReductionTypeMean LossReductionType = 2 LossReductionTypeSum LossReductionType = 1 )
type Operation ¶
[Full Topic]
func NewOperation ¶
func NewOperation() Operation
func OperationFrom ¶
func (Operation) ControlDependencies ¶
[Full Topic]
type PaddingMode ¶
type PaddingMode int
[Full Topic]
const ( PaddingModeAntiPeriodic PaddingMode = 6 PaddingModeClampToEdge PaddingMode = 3 PaddingModeConstant PaddingMode = 0 PaddingModePeriodic PaddingMode = 5 PaddingModeReflect PaddingMode = 1 PaddingModeSymmetric PaddingMode = 2 PaddingModeZero PaddingMode = 4 )
type PaddingStyle ¶
type PaddingStyle uint
[Full Topic]
const ( PaddingStyleExplicit PaddingStyle = 0 PaddingStyleExplicitOffset PaddingStyle = 3 PaddingStyleTF_SAME PaddingStyle = 2 PaddingStyleTF_VALID PaddingStyle = 1 )
type Pooling2DOpDescriptor ¶
[Full Topic]
func NewPooling2DOpDescriptor ¶
func NewPooling2DOpDescriptor() Pooling2DOpDescriptor
func Pooling2DOpDescriptorFrom ¶
func Pooling2DOpDescriptorFrom(ptr unsafe.Pointer) Pooling2DOpDescriptor
func Pooling2DOpDescriptor_DescriptorWithKernelWidthKernelHeightStrideInXStrideInYDilationRateInXDilationRateInYPaddingLeftPaddingRightPaddingTopPaddingBottomPaddingStyleDataLayout ¶
func Pooling2DOpDescriptor_DescriptorWithKernelWidthKernelHeightStrideInXStrideInYDilationRateInXDilationRateInYPaddingLeftPaddingRightPaddingTopPaddingBottomPaddingStyleDataLayout(kernelWidth uint, kernelHeight uint, strideInX uint, strideInY uint, dilationRateInX uint, dilationRateInY uint, paddingLeft uint, paddingRight uint, paddingTop uint, paddingBottom uint, paddingStyle PaddingStyle, dataLayout TensorNamedDataLayout) Pooling2DOpDescriptor
[Full Topic]
func Pooling2DOpDescriptor_DescriptorWithKernelWidthKernelHeightStrideInXStrideInYPaddingStyleDataLayout ¶
func Pooling2DOpDescriptor_DescriptorWithKernelWidthKernelHeightStrideInXStrideInYPaddingStyleDataLayout(kernelWidth uint, kernelHeight uint, strideInX uint, strideInY uint, paddingStyle PaddingStyle, dataLayout TensorNamedDataLayout) Pooling2DOpDescriptor
[Full Topic]
func (Pooling2DOpDescriptor) CeilMode ¶
func (p_ Pooling2DOpDescriptor) CeilMode() bool
[Full Topic]
func (Pooling2DOpDescriptor) DataLayout ¶
func (p_ Pooling2DOpDescriptor) DataLayout() TensorNamedDataLayout
[Full Topic]
func (Pooling2DOpDescriptor) DilationRateInX ¶
func (p_ Pooling2DOpDescriptor) DilationRateInX() uint
[Full Topic]
func (Pooling2DOpDescriptor) DilationRateInY ¶
func (p_ Pooling2DOpDescriptor) DilationRateInY() uint
[Full Topic]
func (Pooling2DOpDescriptor) IncludeZeroPadToAverage ¶
func (p_ Pooling2DOpDescriptor) IncludeZeroPadToAverage() bool
[Full Topic]
func (Pooling2DOpDescriptor) Init ¶
func (p_ Pooling2DOpDescriptor) Init() Pooling2DOpDescriptor
func (Pooling2DOpDescriptor) KernelHeight ¶
func (p_ Pooling2DOpDescriptor) KernelHeight() uint
[Full Topic]
func (Pooling2DOpDescriptor) KernelWidth ¶
func (p_ Pooling2DOpDescriptor) KernelWidth() uint
[Full Topic]
func (Pooling2DOpDescriptor) PaddingBottom ¶
func (p_ Pooling2DOpDescriptor) PaddingBottom() uint
[Full Topic]
func (Pooling2DOpDescriptor) PaddingLeft ¶
func (p_ Pooling2DOpDescriptor) PaddingLeft() uint
[Full Topic]
func (Pooling2DOpDescriptor) PaddingRight ¶
func (p_ Pooling2DOpDescriptor) PaddingRight() uint
[Full Topic]
func (Pooling2DOpDescriptor) PaddingStyle ¶
func (p_ Pooling2DOpDescriptor) PaddingStyle() PaddingStyle
[Full Topic]
func (Pooling2DOpDescriptor) PaddingTop ¶
func (p_ Pooling2DOpDescriptor) PaddingTop() uint
[Full Topic]
func (Pooling2DOpDescriptor) ReturnIndicesDataType ¶
func (p_ Pooling2DOpDescriptor) ReturnIndicesDataType() mps.DataType
[Full Topic]
func (Pooling2DOpDescriptor) ReturnIndicesMode ¶
func (p_ Pooling2DOpDescriptor) ReturnIndicesMode() PoolingReturnIndicesMode
[Full Topic]
func (Pooling2DOpDescriptor) SetCeilMode ¶
func (p_ Pooling2DOpDescriptor) SetCeilMode(value bool)
[Full Topic]
func (Pooling2DOpDescriptor) SetDataLayout ¶
func (p_ Pooling2DOpDescriptor) SetDataLayout(value TensorNamedDataLayout)
[Full Topic]
func (Pooling2DOpDescriptor) SetDilationRateInX ¶
func (p_ Pooling2DOpDescriptor) SetDilationRateInX(value uint)
[Full Topic]
func (Pooling2DOpDescriptor) SetDilationRateInY ¶
func (p_ Pooling2DOpDescriptor) SetDilationRateInY(value uint)
[Full Topic]
func (Pooling2DOpDescriptor) SetExplicitPaddingWithPaddingLeftPaddingRightPaddingTopPaddingBottom ¶
func (p_ Pooling2DOpDescriptor) SetExplicitPaddingWithPaddingLeftPaddingRightPaddingTopPaddingBottom(paddingLeft uint, paddingRight uint, paddingTop uint, paddingBottom uint)
[Full Topic]
func (Pooling2DOpDescriptor) SetIncludeZeroPadToAverage ¶
func (p_ Pooling2DOpDescriptor) SetIncludeZeroPadToAverage(value bool)
[Full Topic]
func (Pooling2DOpDescriptor) SetKernelHeight ¶
func (p_ Pooling2DOpDescriptor) SetKernelHeight(value uint)
[Full Topic]
func (Pooling2DOpDescriptor) SetKernelWidth ¶
func (p_ Pooling2DOpDescriptor) SetKernelWidth(value uint)
[Full Topic]
func (Pooling2DOpDescriptor) SetPaddingBottom ¶
func (p_ Pooling2DOpDescriptor) SetPaddingBottom(value uint)
[Full Topic]
func (Pooling2DOpDescriptor) SetPaddingLeft ¶
func (p_ Pooling2DOpDescriptor) SetPaddingLeft(value uint)
[Full Topic]
func (Pooling2DOpDescriptor) SetPaddingRight ¶
func (p_ Pooling2DOpDescriptor) SetPaddingRight(value uint)
[Full Topic]
func (Pooling2DOpDescriptor) SetPaddingStyle ¶
func (p_ Pooling2DOpDescriptor) SetPaddingStyle(value PaddingStyle)
[Full Topic]
func (Pooling2DOpDescriptor) SetPaddingTop ¶
func (p_ Pooling2DOpDescriptor) SetPaddingTop(value uint)
[Full Topic]
func (Pooling2DOpDescriptor) SetReturnIndicesDataType ¶
func (p_ Pooling2DOpDescriptor) SetReturnIndicesDataType(value mps.DataType)
[Full Topic]
func (Pooling2DOpDescriptor) SetReturnIndicesMode ¶
func (p_ Pooling2DOpDescriptor) SetReturnIndicesMode(value PoolingReturnIndicesMode)
[Full Topic]
func (Pooling2DOpDescriptor) SetStrideInX ¶
func (p_ Pooling2DOpDescriptor) SetStrideInX(value uint)
[Full Topic]
func (Pooling2DOpDescriptor) SetStrideInY ¶
func (p_ Pooling2DOpDescriptor) SetStrideInY(value uint)
[Full Topic]
func (Pooling2DOpDescriptor) StrideInX ¶
func (p_ Pooling2DOpDescriptor) StrideInX() uint
[Full Topic]
func (Pooling2DOpDescriptor) StrideInY ¶
func (p_ Pooling2DOpDescriptor) StrideInY() uint
[Full Topic]
type Pooling4DOpDescriptor ¶
[Full Topic]
func NewPooling4DOpDescriptor ¶
func NewPooling4DOpDescriptor() Pooling4DOpDescriptor
func Pooling4DOpDescriptorFrom ¶
func Pooling4DOpDescriptorFrom(ptr unsafe.Pointer) Pooling4DOpDescriptor
func Pooling4DOpDescriptor_DescriptorWithKernelSizesPaddingStyle ¶
func Pooling4DOpDescriptor_DescriptorWithKernelSizesPaddingStyle(kernelSizes []foundation.INumber, paddingStyle PaddingStyle) Pooling4DOpDescriptor
[Full Topic]
func Pooling4DOpDescriptor_DescriptorWithKernelSizesStridesDilationRatesPaddingValuesPaddingStyle ¶
func Pooling4DOpDescriptor_DescriptorWithKernelSizesStridesDilationRatesPaddingValuesPaddingStyle(kernelSizes []foundation.INumber, strides []foundation.INumber, dilationRates []foundation.INumber, paddingValues []foundation.INumber, paddingStyle PaddingStyle) Pooling4DOpDescriptor
[Full Topic]
func (Pooling4DOpDescriptor) CeilMode ¶
func (p_ Pooling4DOpDescriptor) CeilMode() bool
[Full Topic]
func (Pooling4DOpDescriptor) DilationRates ¶
func (p_ Pooling4DOpDescriptor) DilationRates() []foundation.Number
[Full Topic]
func (Pooling4DOpDescriptor) IncludeZeroPadToAverage ¶
func (p_ Pooling4DOpDescriptor) IncludeZeroPadToAverage() bool
[Full Topic]
func (Pooling4DOpDescriptor) Init ¶
func (p_ Pooling4DOpDescriptor) Init() Pooling4DOpDescriptor
func (Pooling4DOpDescriptor) KernelSizes ¶
func (p_ Pooling4DOpDescriptor) KernelSizes() []foundation.Number
[Full Topic]
func (Pooling4DOpDescriptor) PaddingStyle ¶
func (p_ Pooling4DOpDescriptor) PaddingStyle() PaddingStyle
[Full Topic]
func (Pooling4DOpDescriptor) PaddingValues ¶
func (p_ Pooling4DOpDescriptor) PaddingValues() []foundation.Number
[Full Topic]
func (Pooling4DOpDescriptor) ReturnIndicesDataType ¶
func (p_ Pooling4DOpDescriptor) ReturnIndicesDataType() mps.DataType
[Full Topic]
func (Pooling4DOpDescriptor) ReturnIndicesMode ¶
func (p_ Pooling4DOpDescriptor) ReturnIndicesMode() PoolingReturnIndicesMode
[Full Topic]
func (Pooling4DOpDescriptor) SetCeilMode ¶
func (p_ Pooling4DOpDescriptor) SetCeilMode(value bool)
[Full Topic]
func (Pooling4DOpDescriptor) SetDilationRates ¶
func (p_ Pooling4DOpDescriptor) SetDilationRates(value []foundation.INumber)
[Full Topic]
func (Pooling4DOpDescriptor) SetIncludeZeroPadToAverage ¶
func (p_ Pooling4DOpDescriptor) SetIncludeZeroPadToAverage(value bool)
[Full Topic]
func (Pooling4DOpDescriptor) SetKernelSizes ¶
func (p_ Pooling4DOpDescriptor) SetKernelSizes(value []foundation.INumber)
[Full Topic]
func (Pooling4DOpDescriptor) SetPaddingStyle ¶
func (p_ Pooling4DOpDescriptor) SetPaddingStyle(value PaddingStyle)
[Full Topic]
func (Pooling4DOpDescriptor) SetPaddingValues ¶
func (p_ Pooling4DOpDescriptor) SetPaddingValues(value []foundation.INumber)
[Full Topic]
func (Pooling4DOpDescriptor) SetReturnIndicesDataType ¶
func (p_ Pooling4DOpDescriptor) SetReturnIndicesDataType(value mps.DataType)
[Full Topic]
func (Pooling4DOpDescriptor) SetReturnIndicesMode ¶
func (p_ Pooling4DOpDescriptor) SetReturnIndicesMode(value PoolingReturnIndicesMode)
[Full Topic]
func (Pooling4DOpDescriptor) SetStrides ¶
func (p_ Pooling4DOpDescriptor) SetStrides(value []foundation.INumber)
[Full Topic]
func (Pooling4DOpDescriptor) Strides ¶
func (p_ Pooling4DOpDescriptor) Strides() []foundation.Number
[Full Topic]
type RandomOpDescriptor ¶
[Full Topic]
func NewRandomOpDescriptor ¶
func NewRandomOpDescriptor() RandomOpDescriptor
func RandomOpDescriptorFrom ¶
func RandomOpDescriptorFrom(ptr unsafe.Pointer) RandomOpDescriptor
func RandomOpDescriptor_DescriptorWithDistributionDataType ¶
func RandomOpDescriptor_DescriptorWithDistributionDataType(distribution RandomDistribution, dataType mps.DataType) RandomOpDescriptor
[Full Topic]
func (RandomOpDescriptor) DataType ¶
func (r_ RandomOpDescriptor) DataType() mps.DataType
[Full Topic]
func (RandomOpDescriptor) Distribution ¶
func (r_ RandomOpDescriptor) Distribution() RandomDistribution
[Full Topic]
func (RandomOpDescriptor) Init ¶
func (r_ RandomOpDescriptor) Init() RandomOpDescriptor
func (RandomOpDescriptor) SamplingMethod ¶
func (r_ RandomOpDescriptor) SamplingMethod() RandomNormalSamplingMethod
[Full Topic]
func (RandomOpDescriptor) SetDataType ¶
func (r_ RandomOpDescriptor) SetDataType(value mps.DataType)
[Full Topic]
func (RandomOpDescriptor) SetDistribution ¶
func (r_ RandomOpDescriptor) SetDistribution(value RandomDistribution)
[Full Topic]
func (RandomOpDescriptor) SetMaxInteger ¶
func (r_ RandomOpDescriptor) SetMaxInteger(value int)
[Full Topic]
func (RandomOpDescriptor) SetMean ¶
func (r_ RandomOpDescriptor) SetMean(value float64)
[Full Topic]
func (RandomOpDescriptor) SetMinInteger ¶
func (r_ RandomOpDescriptor) SetMinInteger(value int)
[Full Topic]
func (RandomOpDescriptor) SetSamplingMethod ¶
func (r_ RandomOpDescriptor) SetSamplingMethod(value RandomNormalSamplingMethod)
[Full Topic]
func (RandomOpDescriptor) SetStandardDeviation ¶
func (r_ RandomOpDescriptor) SetStandardDeviation(value float64)
[Full Topic]
func (RandomOpDescriptor) StandardDeviation ¶
func (r_ RandomOpDescriptor) StandardDeviation() float64
[Full Topic]
type ReductionMode ¶
type ReductionMode uint
[Full Topic]
const ( ReductionModeArgumentMax ReductionMode = 5 ReductionModeArgumentMin ReductionMode = 4 ReductionModeMax ReductionMode = 1 ReductionModeMin ReductionMode = 0 ReductionModeProduct ReductionMode = 3 ReductionModeSum ReductionMode = 2 )
type ResizeMode ¶
type ResizeMode uint
[Full Topic]
const ( ResizeBilinear ResizeMode = 1 ResizeNearest ResizeMode = 0 )
type ScatterMode ¶
type ScatterMode int
[Full Topic]
const ( ScatterModeAdd ScatterMode = 0 ScatterModeDiv ScatterMode = 3 ScatterModeMax ScatterMode = 5 ScatterModeMin ScatterMode = 4 ScatterModeMul ScatterMode = 2 ScatterModeSet ScatterMode = 6 ScatterModeSub ScatterMode = 1 )
type ScheduledHandler ¶
type ScheduledHandler = func(resultsDictionary *foundation.Dictionary, error foundation.Error)
[Full Topic]
type ShapedType ¶
type ShapedType struct {
Type
}
[Full Topic]
func NewShapedType ¶
func NewShapedType() ShapedType
func NewShapedTypeWithShapeDataType ¶
func NewShapedTypeWithShapeDataType(shape *foundation.Array, dataType mps.DataType) ShapedType
[Full Topic]
func ShapedTypeFrom ¶
func ShapedTypeFrom(ptr unsafe.Pointer) ShapedType
func (ShapedType) Init ¶
func (s_ ShapedType) Init() ShapedType
func (ShapedType) InitWithShapeDataType ¶
func (s_ ShapedType) InitWithShapeDataType(shape *foundation.Array, dataType mps.DataType) ShapedType
type SingleGateRNNDescriptor ¶
[Full Topic]
func NewSingleGateRNNDescriptor ¶
func NewSingleGateRNNDescriptor() SingleGateRNNDescriptor
func SingleGateRNNDescriptorFrom ¶
func SingleGateRNNDescriptorFrom(ptr unsafe.Pointer) SingleGateRNNDescriptor
func SingleGateRNNDescriptor_Descriptor ¶
func SingleGateRNNDescriptor_Descriptor() SingleGateRNNDescriptor
[Full Topic]
func (SingleGateRNNDescriptor) Activation ¶
func (s_ SingleGateRNNDescriptor) Activation() RNNActivation
[Full Topic]
func (SingleGateRNNDescriptor) Bidirectional ¶
func (s_ SingleGateRNNDescriptor) Bidirectional() bool
[Full Topic]
func (SingleGateRNNDescriptor) Init ¶
func (s_ SingleGateRNNDescriptor) Init() SingleGateRNNDescriptor
func (SingleGateRNNDescriptor) Reverse ¶
func (s_ SingleGateRNNDescriptor) Reverse() bool
[Full Topic]
func (SingleGateRNNDescriptor) SetActivation ¶
func (s_ SingleGateRNNDescriptor) SetActivation(value RNNActivation)
[Full Topic]
func (SingleGateRNNDescriptor) SetBidirectional ¶
func (s_ SingleGateRNNDescriptor) SetBidirectional(value bool)
[Full Topic]
func (SingleGateRNNDescriptor) SetReverse ¶
func (s_ SingleGateRNNDescriptor) SetReverse(value bool)
[Full Topic]
func (SingleGateRNNDescriptor) SetTraining ¶
func (s_ SingleGateRNNDescriptor) SetTraining(value bool)
[Full Topic]
func (SingleGateRNNDescriptor) Training ¶
func (s_ SingleGateRNNDescriptor) Training() bool
[Full Topic]
type SparseStorageType ¶
type SparseStorageType uint64
[Full Topic]
const ( SparseStorageCOO SparseStorageType = 0 SparseStorageCSC SparseStorageType = 1 SparseStorageCSR SparseStorageType = 2 )
type StencilOpDescriptor ¶
[Full Topic]
func NewStencilOpDescriptor ¶
func NewStencilOpDescriptor() StencilOpDescriptor
func StencilOpDescriptorFrom ¶
func StencilOpDescriptorFrom(ptr unsafe.Pointer) StencilOpDescriptor
func StencilOpDescriptor_DescriptorWithExplicitPadding ¶
func StencilOpDescriptor_DescriptorWithExplicitPadding(explicitPadding *foundation.Array) StencilOpDescriptor
[Full Topic]
func StencilOpDescriptor_DescriptorWithOffsetsExplicitPadding ¶
func StencilOpDescriptor_DescriptorWithOffsetsExplicitPadding(offsets *foundation.Array, explicitPadding *foundation.Array) StencilOpDescriptor
[Full Topic]
func StencilOpDescriptor_DescriptorWithPaddingStyle ¶
func StencilOpDescriptor_DescriptorWithPaddingStyle(paddingStyle PaddingStyle) StencilOpDescriptor
[Full Topic]
func StencilOpDescriptor_DescriptorWithReductionModeOffsetsStridesDilationRatesExplicitPaddingBoundaryModePaddingStylePaddingConstant ¶
func StencilOpDescriptor_DescriptorWithReductionModeOffsetsStridesDilationRatesExplicitPaddingBoundaryModePaddingStylePaddingConstant(reductionMode ReductionMode, offsets *foundation.Array, strides *foundation.Array, dilationRates *foundation.Array, explicitPadding *foundation.Array, boundaryMode PaddingMode, paddingStyle PaddingStyle, paddingConstant float64) StencilOpDescriptor
[Full Topic]
func (StencilOpDescriptor) BoundaryMode ¶
func (s_ StencilOpDescriptor) BoundaryMode() PaddingMode
[Full Topic]
func (StencilOpDescriptor) DilationRates ¶
func (s_ StencilOpDescriptor) DilationRates() *foundation.Array
[Full Topic]
func (StencilOpDescriptor) ExplicitPadding ¶
func (s_ StencilOpDescriptor) ExplicitPadding() *foundation.Array
[Full Topic]
func (StencilOpDescriptor) Init ¶
func (s_ StencilOpDescriptor) Init() StencilOpDescriptor
func (StencilOpDescriptor) Offsets ¶
func (s_ StencilOpDescriptor) Offsets() *foundation.Array
[Full Topic]
func (StencilOpDescriptor) PaddingConstant ¶
func (s_ StencilOpDescriptor) PaddingConstant() float64
[Full Topic]
func (StencilOpDescriptor) PaddingStyle ¶
func (s_ StencilOpDescriptor) PaddingStyle() PaddingStyle
[Full Topic]
func (StencilOpDescriptor) ReductionMode ¶
func (s_ StencilOpDescriptor) ReductionMode() ReductionMode
[Full Topic]
func (StencilOpDescriptor) SetBoundaryMode ¶
func (s_ StencilOpDescriptor) SetBoundaryMode(value PaddingMode)
[Full Topic]
func (StencilOpDescriptor) SetDilationRates ¶
func (s_ StencilOpDescriptor) SetDilationRates(value *foundation.Array)
[Full Topic]
func (StencilOpDescriptor) SetExplicitPadding ¶
func (s_ StencilOpDescriptor) SetExplicitPadding(value *foundation.Array)
[Full Topic]
func (StencilOpDescriptor) SetOffsets ¶
func (s_ StencilOpDescriptor) SetOffsets(value *foundation.Array)
[Full Topic]
func (StencilOpDescriptor) SetPaddingConstant ¶
func (s_ StencilOpDescriptor) SetPaddingConstant(value float64)
[Full Topic]
func (StencilOpDescriptor) SetPaddingStyle ¶
func (s_ StencilOpDescriptor) SetPaddingStyle(value PaddingStyle)
[Full Topic]
func (StencilOpDescriptor) SetReductionMode ¶
func (s_ StencilOpDescriptor) SetReductionMode(value ReductionMode)
[Full Topic]
func (StencilOpDescriptor) SetStrides ¶
func (s_ StencilOpDescriptor) SetStrides(value *foundation.Array)
[Full Topic]
func (StencilOpDescriptor) Strides ¶
func (s_ StencilOpDescriptor) Strides() *foundation.Array
[Full Topic]
type TensorData ¶
[Full Topic]
func NewTensorData ¶
func NewTensorData() TensorData
func NewTensorDataWithDeviceDataShapeDataType ¶
func NewTensorDataWithDeviceDataShapeDataType(device IDevice, data []byte, shape *foundation.Array, dataType mps.DataType) TensorData
[Full Topic]
func NewTensorDataWithMPSImageBatch ¶
func NewTensorDataWithMPSImageBatch(imageBatch *foundation.Array) TensorData
[Full Topic]
func NewTensorDataWithMPSMatrix ¶
func NewTensorDataWithMPSMatrix(matrix mps.IMatrix) TensorData
[Full Topic]
func NewTensorDataWithMPSMatrixRank ¶
func NewTensorDataWithMPSMatrixRank(matrix mps.IMatrix, rank uint) TensorData
[Full Topic]
func NewTensorDataWithMPSNDArray ¶
func NewTensorDataWithMPSNDArray(ndarray mps.INDArray) TensorData
[Full Topic]
func NewTensorDataWithMPSVector ¶
func NewTensorDataWithMPSVector(vector mps.IVector) TensorData
[Full Topic]
func NewTensorDataWithMPSVectorRank ¶
func NewTensorDataWithMPSVectorRank(vector mps.IVector, rank uint) TensorData
[Full Topic]
func NewTensorDataWithMTLBufferShapeDataType ¶
func NewTensorDataWithMTLBufferShapeDataType(buffer metal.PBuffer, shape *foundation.Array, dataType mps.DataType) TensorData
[Full Topic]
func NewTensorDataWithMTLBufferShapeDataTypeRowBytes ¶
func NewTensorDataWithMTLBufferShapeDataTypeRowBytes(buffer metal.PBuffer, shape *foundation.Array, dataType mps.DataType, rowBytes uint) TensorData
[Full Topic]
func TensorDataFrom ¶
func TensorDataFrom(ptr unsafe.Pointer) TensorData
func (TensorData) Init ¶
func (t_ TensorData) Init() TensorData
func (TensorData) InitWithDeviceDataShapeDataType ¶
func (t_ TensorData) InitWithDeviceDataShapeDataType(device IDevice, data []byte, shape *foundation.Array, dataType mps.DataType) TensorData
func (TensorData) InitWithMPSImageBatch ¶
func (t_ TensorData) InitWithMPSImageBatch(imageBatch *foundation.Array) TensorData
func (TensorData) InitWithMPSMatrix ¶
func (t_ TensorData) InitWithMPSMatrix(matrix mps.IMatrix) TensorData
func (TensorData) InitWithMPSMatrixRank ¶
func (t_ TensorData) InitWithMPSMatrixRank(matrix mps.IMatrix, rank uint) TensorData
func (TensorData) InitWithMPSNDArray ¶
func (t_ TensorData) InitWithMPSNDArray(ndarray mps.INDArray) TensorData
func (TensorData) InitWithMPSVector ¶
func (t_ TensorData) InitWithMPSVector(vector mps.IVector) TensorData
func (TensorData) InitWithMPSVectorRank ¶
func (t_ TensorData) InitWithMPSVectorRank(vector mps.IVector, rank uint) TensorData
func (TensorData) InitWithMTLBufferShapeDataType ¶
func (t_ TensorData) InitWithMTLBufferShapeDataType(buffer metal.PBuffer, shape *foundation.Array, dataType mps.DataType) TensorData
func (TensorData) InitWithMTLBufferShapeDataTypeRowBytes ¶
func (t_ TensorData) InitWithMTLBufferShapeDataTypeRowBytes(buffer metal.PBuffer, shape *foundation.Array, dataType mps.DataType, rowBytes uint) TensorData
type TensorNamedDataLayout ¶
type TensorNamedDataLayout uint
[Full Topic]
const ( TensorNamedDataLayoutCHW TensorNamedDataLayout = 4 TensorNamedDataLayoutHW TensorNamedDataLayout = 6 TensorNamedDataLayoutHWC TensorNamedDataLayout = 5 TensorNamedDataLayoutHWIO TensorNamedDataLayout = 3 TensorNamedDataLayoutNCHW TensorNamedDataLayout = 0 TensorNamedDataLayoutNHWC TensorNamedDataLayout = 1 TensorNamedDataLayoutOIHW TensorNamedDataLayout = 2 )
type VariableOp ¶
type VariableOp struct {
Operation
}
[Full Topic]
func NewVariableOp ¶
func NewVariableOp() VariableOp
func VariableOpFrom ¶
func VariableOpFrom(ptr unsafe.Pointer) VariableOp
func (VariableOp) Init ¶
func (v_ VariableOp) Init() VariableOp
type WhileAfterBlock ¶
[Full Topic]
type WhileBeforeBlock ¶
type WhileBeforeBlock = func(inputTensors []Tensor, resultTensors foundation.MutableArray) Tensor
[Full Topic]
Source Files ¶
- aliastypes.gen.go
- compilation_descriptor.gen.go
- convolution2_d_op_descriptor.gen.go
- create_sparse_op_descriptor.gen.go
- depthwise_convolution2_d_op_descriptor.gen.go
- depthwise_convolution3_d_op_descriptor.gen.go
- device.gen.go
- doc.gen.go
- enumtypes.gen.go
- executable.gen.go
- executable_execution_descriptor.gen.go
- execution_descriptor.gen.go
- graph.gen.go
- lstm_descriptor.gen.go
- mpsgraph.go
- operation.gen.go
- pooling2_d_op_descriptor.gen.go
- pooling4_d_op_descriptor.gen.go
- random_op_descriptor.gen.go
- shaped_type.gen.go
- single_gate_rnn_descriptor.gen.go
- stencil_op_descriptor.gen.go
- tensor.gen.go
- tensor_data.gen.go
- type.gen.go
- variable_op.gen.go