Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetBiasAddGradReductionIndices (0.22 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    def GetBiasAddGradReductionIndices : NativeCodeCall<
      "GetBiasAddGradReductionIndices("
      "$0.getType().cast<RankedTensorType>().getRank(), $1, &$_builder)">;
    
    def LowerBiasAddGradOp :
      Pat<(TF_BiasAddGradOp AnyRankedTensor:$out_backprop, $data_format),
          (TF_SumOp $out_backprop,
                    (TF_ConstOp (GetBiasAddGradReductionIndices $out_backprop,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

      return GetScalarOfType(builder->getF32Type(), half_range);
    }
    
    // Returns reduction indices to use while lowering tf.BiasAddGrad op to tf.Sum
    // op.
    DenseIntElementsAttr GetBiasAddGradReductionIndices(int64_t rank,
                                                        StringAttr data_format,
                                                        Builder *builder) {
      tensorflow::TensorFormat format;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
Back to top