Class XlaSparseDenseMatmulCustomCombinerOnTcGradWithCsrInput
java.lang.Object
org.tensorflow.op.RawOp
org.tensorflow.op.xla.XlaSparseDenseMatmulCustomCombinerOnTcGradWithCsrInput
- All Implemented Interfaces:
Op
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classOptional attributes forXlaSparseDenseMatmulCustomCombinerOnTcGradWithCsrInput -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of this op, as known by TensorFlow core engine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(Scope scope, Operand<TInt32> rowPointers, Operand<TInt32> sortedSampleIds, Operand<TInt32> sortedTokenIds, Operand<TInt32> sortedPosIds, Operand<TFloat32> sortedGains, Operand<TFloat32> weights, Operand<TInt32> preservedValencies, Operand<TFloat32> preservedVectors, Operand<TFloat32> preservedWeights, Operand<TFloat32> activationGradients, Iterable<Operand<TFloat32>> tables, Iterable<Operand<TFloat32>> hyperparameters, Operand<TFloat32> combinerWeightsLearningRate, Long maxValency, Long numWeights, ConcreteFunction combinerTableVjpComputation, ConcreteFunction combinerWeightsVjpComputation, ConcreteFunction optimizerCustomComputation, String tableName, XlaSparseDenseMatmulCustomCombinerOnTcGradWithCsrInput.Options... options) Factory method to create a class wrapping a new XlaSparseDenseMatmulCustomCombinerOnTcGradWithCsrInput operation.numSparsecoresPerDevice(Long numSparsecoresPerDevice) Sets the numSparsecoresPerDevice option.Gets updatedTables.Gets updatedWeights.Methods inherited from interface Op
envModifier and TypeMethodDescriptiondefault ExecutionEnvironmentenv()Return the execution environment this op was created in.
-
Field Details
-
OP_NAME
The name of this op, as known by TensorFlow core engine- See Also:
-
-
Constructor Details
-
XlaSparseDenseMatmulCustomCombinerOnTcGradWithCsrInput
-
-
Method Details
-
create
@Endpoint(describeByClass=true) public static XlaSparseDenseMatmulCustomCombinerOnTcGradWithCsrInput create(Scope scope, Operand<TInt32> rowPointers, Operand<TInt32> sortedSampleIds, Operand<TInt32> sortedTokenIds, Operand<TInt32> sortedPosIds, Operand<TFloat32> sortedGains, Operand<TFloat32> weights, Operand<TInt32> preservedValencies, Operand<TFloat32> preservedVectors, Operand<TFloat32> preservedWeights, Operand<TFloat32> activationGradients, Iterable<Operand<TFloat32>> tables, Iterable<Operand<TFloat32>> hyperparameters, Operand<TFloat32> combinerWeightsLearningRate, Long maxValency, Long numWeights, ConcreteFunction combinerTableVjpComputation, ConcreteFunction combinerWeightsVjpComputation, ConcreteFunction optimizerCustomComputation, String tableName, XlaSparseDenseMatmulCustomCombinerOnTcGradWithCsrInput.Options... options) Factory method to create a class wrapping a new XlaSparseDenseMatmulCustomCombinerOnTcGradWithCsrInput operation.- Parameters:
scope- current scoperowPointers- The rowPointers valuesortedSampleIds- The sortedSampleIds valuesortedTokenIds- The sortedTokenIds valuesortedPosIds- The sortedPosIds valuesortedGains- The sortedGains valueweights- The weights valuepreservedValencies- The preservedValencies valuepreservedVectors- The preservedVectors valuepreservedWeights- The preservedWeights valueactivationGradients- The activationGradients valuetables- The tables valuehyperparameters- The hyperparameters valuecombinerWeightsLearningRate- The combinerWeightsLearningRate valuemaxValency- The value of the maxValency attributenumWeights- The value of the numWeights attributecombinerTableVjpComputation- The value of the combinerTableVjpComputation attributecombinerWeightsVjpComputation- The value of the combinerWeightsVjpComputation attributeoptimizerCustomComputation- The value of the optimizerCustomComputation attributetableName- The value of the tableName attributeoptions- carries optional attribute values- Returns:
- a new instance of XlaSparseDenseMatmulCustomCombinerOnTcGradWithCsrInput
-
numSparsecoresPerDevice
public static XlaSparseDenseMatmulCustomCombinerOnTcGradWithCsrInput.Options numSparsecoresPerDevice(Long numSparsecoresPerDevice) Sets the numSparsecoresPerDevice option.- Parameters:
numSparsecoresPerDevice- the numSparsecoresPerDevice option- Returns:
- this Options instance.
-
updatedTables
-
updatedWeights
-