Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for BroadcastGradientArgs (0.43 sec)

  1. tensorflow/cc/gradients/linalg_grad.cc

      std::tie(bx_start, bx_end) = EinsumGetBcastSubshape(x_subs);
      std::tie(by_start, by_end) = EinsumGetBcastSubshape(y_subs);
    
      // Sum the gradient across the broadcasted axes.
      auto args = internal::BroadcastGradientArgs(
          scope, Slice1dHelper(scope, x_shape, bx_start, bx_end),
          Slice1dHelper(scope, y_shape, by_start, by_end));
      grad_x = Reshape(
          scope, ReduceSum(scope, grad_x, Add(scope, bx_start, args.r0)), x_shape);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 20.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

      func.func @op_non_fully_defined_shape_fn(%arg0: tensor<*xi32>, %arg1: tensor<0xi32>) -> tensor<?xi32> {
        // CHECK: tf.BroadcastGradientArgs
        // CHECK-SAME: (tensor<*xi32>, tensor<0xi32>) -> (tensor<?xi32>, tensor<?xi32>)
        %2:2 = "tf.BroadcastGradientArgs"(%arg0, %arg1) {T = "tfdtype$DT_INT32", name = "BroadcastGradientArgs"} : (tensor<*xi32>, tensor<0xi32>) -> (tensor<?xi32>, tensor<?xi32>)
        func.return %2#0 : tensor<?xi32>
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass.cc

          "Range", "Rank", "Reshape", "Shape", "ShapeN", "Size", "Squeeze",
          "Transpose", "ZerosLike", "OnesLike", "BiasAdd" /*PW + Broadcast*/,
          "BroadcastArgs", "BroadcastGradientArgs", "OneHot", "Concat", "ConcatV2",
          "ConcatOffset", "Const", "MirrorPad", "MirrorPadGrad", "Pack", "Pad",
          "PadV2", "Reverse", "ReverseV2", "ReverseSequence", "Slice", "Split",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      SmallVector<int64_t, 4> s0_shape, s1_shape;
      DenseIntElementsAttr s0, s1;
      if (!ExtractInputConstShape(*this, s0, s1, s0_shape, s1_shape))
        return failure();
    
      // Fold BroadcastGradientArgs into two constants if both of the inputs have
      // known shape.
      SmallVector<int64_t, 4> bcasted_shape;
      // Verifier should already ensure the broadcast compatibility.
      bool bcast_compatible =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      );
    
      let results = (outs
        TF_I32OrI64Tensor:$r0
      );
    
      TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr<0>;
    }
    
    def TF_BroadcastGradientArgsOp : TF_Op<"BroadcastGradientArgs", [Pure, SameOperandsAndResultElementType, TF_OperandHasRank<0, 1>, TF_OperandHasRank<1, 1>, TF_ResultHasRank<0, 1>, TF_ResultHasRank<1, 1>]> {
      let summary = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top