- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for MirrorPad (0.28 sec)
-
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-include-tf2xla-fallback.mlir
%0 = mhlo.constant dense<[[1, 1], [2, 2]]> : tensor<2x2xi32> // NO_FALLBACK: tf.MirrorPad // SUPPORTED_FALLBACK_DEVICE-NOT: tf.MirrorPad // UNSPECIFIED_FALLBACK_DEVICE: tf.MirrorPad // UNSUPPORTED_FALLBACK_DEVICE: tf.MirrorPad %1 = "tf.MirrorPad"(%arg0, %0) {mode = "SYMMETRIC"} : (tensor<2x3xcomplex<f64>>, tensor<2x2xi32>) -> tensor<4x7xcomplex<f64>> func.return %1 : tensor<4x7xcomplex<f64>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 16 19:04:03 UTC 2023 - 3.2K bytes - Viewed (0) -
tensorflow/cc/gradients/array_grad_test.cc
TensorShape y_shape({4, 7}); auto y = MirrorPad(scope_, x, paddings, "REFLECT"); RunTest(x, x_shape, y, y_shape); } TEST_F(ArrayGradTest, MirrorPadGrad_Symmetric) { TensorShape x_shape({2, 3}); auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape)); auto paddings = Const(scope_, {{1, 1}, {2, 2}}); TensorShape y_shape({4, 7}); auto y = MirrorPad(scope_, x, paddings, "SYMMETRIC");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 19.3K bytes - Viewed (0) -
tensorflow/cc/gradients/array_grad.cc
grad_outputs->push_back(tensorflow::ops::internal::MirrorPadGrad( scope, grad_inputs[0], op.input(1), mode)); grad_outputs->push_back(NoGradient()); return scope.status(); } REGISTER_GRADIENT_OP("MirrorPad", MirrorPadGrad); // TODO(suharshs): b/34770860. This gradient was within 1e-3 but not 1e-4. Status MirrorPadGradGrad(const Scope& scope, const Operation& op, const std::vector<Output>& grad_inputs,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 31.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir
// CHECK-LABEL: mirror_pad func.func @mirror_pad(%arg0: tensor<2x3xcomplex<f64>>) -> tensor<4x7xcomplex<f64>> { %0 = mhlo.constant dense<[[1, 1], [2, 2]]> : tensor<2x2xi32> // CHECK-NOT: tf.MirrorPad %1 = "tf.MirrorPad"(%arg0, %0) {mode = "SYMMETRIC"} : (tensor<2x3xcomplex<f64>>, tensor<2x2xi32>) -> tensor<4x7xcomplex<f64>> func.return %1 : tensor<4x7xcomplex<f64>> } // CHECK-LABEL: bucketize
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 38.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir
} func.func @mirror_pad(tensor<2x1x3xf32>, tensor<3x2xi32>) -> tensor<? x f32> { ^bb0(%arg0: tensor<2x1x3xf32>, %arg1: tensor<3x2xi32>): %0 = "tf.MirrorPad"(%arg0, %arg1) { mode = "SYMMETRIC" }: (tensor<2x1x3xf32>, tensor<3x2xi32>) -> tensor<? x f32> func.return %0#0 : tensor<? x f32> // CHECK-LABEL: mirror_pad
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 05 01:54:33 UTC 2024 - 153.4K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass.cc
"Transpose", "ZerosLike", "OnesLike", "BiasAdd" /*PW + Broadcast*/, "BroadcastArgs", "BroadcastGradientArgs", "OneHot", "Concat", "ConcatV2", "ConcatOffset", "Const", "MirrorPad", "MirrorPadGrad", "Pack", "Pad", "PadV2", "Reverse", "ReverseV2", "ReverseSequence", "Slice", "Split", "SplitV", "StridedSlice", "StridedSliceGrad",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 85.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
SameOperandsAndResultsScale, QuantizableResult, Pure, TFL_OperandHasRank<1, 2>]> { let summary = "MirrorPad Operator. Pads a tensor with mirrored values."; let description = [{ This operation pads a input with mirrored values according to the paddings you specify. paddings is an integer tensor with shape [n, 2],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
%paddings = "tf.Const"() {value = dense<[0, 1]> : tensor<2xi64>} : () -> tensor<2xi64> // expected-error @+1 {{failed to verify that operand 1 is 2-D}} %0 = "tf.MirrorPad"(%input, %paddings) { mode = "SYMMETRIC" }: (tensor<2xi64>, tensor<2xi64>) -> tensor<3xi64> func.return %0 : tensor<3xi64> } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
let summary = [{ Gradient op for `MirrorPad` op. This op folds a mirror-padded tensor. }]; let description = [{ This operation folds the padded areas of `input` by `MirrorPad` according to the `paddings` you specify. `paddings` must be the same as `paddings` argument given to the corresponding `MirrorPad` op. The folded size of each dimension D of the output is:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0)