Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for StridedSliceGrad (0.43 sec)

  1. tensorflow/cc/framework/fuzzing/op_fuzzing.bzl

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 07 19:14:57 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    //  tf.StridedSliceGrad
    //===--------------------------------------------------------------------===//
    
    func.func @stridedSliceGrad(%dy: tensor<4x8xf32>, %begin: tensor<2xi64>, %end: tensor<2xi64>, %strides: tensor<2xi64>, %shape: tensor<2xi64>) -> tensor<?x?xf32> {
      // CHECK: tf.StridedSliceGrad
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  3. tensorflow/cc/gradients/array_grad.cc

      TF_RETURN_IF_ERROR(
          GetNodeAttr(op.node()->attrs(), "shrink_axis_mask", &shrink_axis_mask));
      grad_outputs->push_back(
          StridedSliceGrad(scope, x, begin, end, strides, grad_inputs[0],
                           StridedSliceGrad::BeginMask(begin_mask)
                               .EndMask(end_mask)
                               .EllipsisMask(ellipsis_mask)
                               .NewAxisMask(new_axis_mask)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  4. tensorflow/cc/gradients/array_grad_test.cc

      auto paddings = Const(scope_, {{1, 1}, {2, 2}});
      TensorShape y_shape({2, 3});
      auto y = MirrorPadGrad(scope_, x, paddings, "SYMMETRIC");
      RunTest(x, x_shape, y, y_shape);
    }
    
    TEST_F(ArrayGradTest, StridedSliceGrad) {
      TensorShape x_shape({6, 4, 4});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape));
    
      // y = x[2:6:2, 1:3, 1:3]
      auto y = StridedSlice(scope_, x, {2, 1, 1}, {6, 3, 3}, {2, 1, 1});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      func.return %1 : tensor<?x2x5xf32>
    }
    
    //===----------------------------------------------------------------------===//
    // tf.StridedSliceGrad legalization
    //===----------------------------------------------------------------------===//
    
    // -----
    
    // CHECK-LABEL: strided_slice_grad
    // CHECK-SAME: [[GRAD:%.*]]: tensor<4x16x1022xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/mark_for_compilation_pass.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

                                        input_ty, rewriter);
      }
    };
    
    // Converts tf.StridedSliceGrad to HLO reshape, reverse and padding ops.
    //
    // tf.StridedSlice is taking slice of the input tensor. tf.StridedSliceGrad does
    // the reverse: it propagates the graident for the sliced tensor to the original
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

          ::llvm::SmallVectorImpl<int64_t> *slice_end,
          ::llvm::SmallVectorImpl<int64_t> *slice_stride);
      }];
    }
    
    def TF_StridedSliceGradOp : TF_Op<"StridedSliceGrad", [Pure]> {
      let summary = "Returns the gradient of `StridedSlice`.";
    
      let description = [{
    Since `StridedSlice` cuts out pieces of its `input` which is size
    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