Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for PADV2 (0.11 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/fake_quant_e2e_xla.mlir

    // CHECK: %[[minimum:.*]] = "tf.Minimum"(%[[maximum]]
    // CHECK: %[[round:.*]] = "tf.Round"(%[[minimum]]
    // CHECK: %[[quant:.*]] = "tf.Cast"(%[[round]]) : (tensor<1x3x4x3xf32>) -> tensor<1x3x4x3xi8>
    // CHECK: %[[pad:.*]] = "tf.PadV2"(%[[quant]]
    // CHECK: %[[xlaconv:.*]] = "tf.XlaConvV2"(%[[pad]]
    // CHECK: %[[sub:.*]] = "tf.Sub"(%[[xlaconv]]
    // CHECK: %[[cast:.*]] = "tf.Cast"(%[[sub]]) <{Truncate = false}> : (tensor<1x3x2x2xi32>) -> tensor<1x3x2x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/replace_cast_hacks_with_tf_xla_ops_large_constants.mlir

      }
    
    // CHECK-LABEL: func @conv_with_filter_larger_than_1GB
    // CHECK-DAG: %[[CONST:.*]] = "tf.Const"() <{value = dense<-237772800> : tensor<1x1x1x512xi32>}> : () -> tensor<1x1x1x512xi32>
    // CHECK: %[[PADV2_0:.*]] = "tf.PadV2"
    // CHECK: %[[XLACONVV2_0:.*]] = "tf.XlaConvV2"(%[[PADV2_0]]
    // CHECK: %[[SUB_0:.*]] = "tf.Sub"(%[[XLACONVV2_0]], %[[CONST]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/ops.mlir

    ^bb0(%arg0: tensor<*xf32>, %arg1: tensor<5x3xi32>):
      %cst = arith.constant dense<2.0> : tensor<f32>
      // CHECK: "tfl.padv2"(%arg0, %arg1, %cst)
      %0 = "tfl.padv2"(%arg0, %arg1, %cst) : (tensor<*xf32>, tensor<5x3xi32>, tensor<f32>) -> tensor<? x f32>
      func.return %0#0 : tensor<? x f32>
    }
    
    // -----
    
    // test PadV2 with invalid paddings size
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  5. tensorflow/cc/gradients/array_grad.cc

      grad_outputs->push_back(NoGradient());
      // PadV2 adds a "constant_values" input.
      if (IsPadV2) {
        grad_outputs->push_back(NoGradient());
      }
      return scope.status();
    }
    REGISTER_GRADIENT_OP("Pad", PadGrad<false>);
    REGISTER_GRADIENT_OP("PadV2", PadGrad<true>);
    
    Status SpaceToBatchGrad(const Scope& scope, const Operation& op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/replace_cast_hacks_with_tf_xla_ops.mlir

    // CHECK-DAG-SAME{LITERAL}: value = dense<[[[[-22016, -23680]]]]>
    // CHECK-DAG: %[[CONST_8:.*]] = "tf.Const"() <{value = dense<[162, 160]> : tensor<2xi32>}> : () -> tensor<2xi32>
    // CHECK: %[[PADV2_0:.*]] = "tf.PadV2"({{.*}}, %[[CONST_4]], %[[CONST_5]]) : (tensor<1x3x4x3xi8>, tensor<4x2xi32>, tensor<i8>) -> tensor<1x4x5x3xi8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 81K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

      // CHECK-DAG: "tf.PadV2"(%arg0, {{.*}}, {{.*}}) {{.*}} -> tensor<3x?x?x10xf16>
      // CHECK-DAG: return {{.*}}: tensor<?x?x?x10xf16>
      %0 = "tf.SpaceToBatchND"(%input, %block_shape, %paddings) : (tensor<3x5x7x10xf16>, tensor<2xi64>, tensor<2x2xi64>) -> tensor<?x?x?x10xf16>
      func.return %0 : tensor<?x?x?x10xf16>
    }
    
    // Verify the result shape for the tf.PadV2 op.
    // CHECK-LABEL: const_paddings_space_to_batch_nd
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // CHECK: %[[PAD:.+]] = "tfl.padv2"(%[[ARG0]], %[[PADDING]], %[[ARG1]]) : (tensor<2x3x!quant.uniform<i8:f32, 2.000000e+00:-1>>, tensor<2x2xi32>, tensor<!quant.uniform<i8:f32, 2.000000e+00:-1>>) -> tensor<4x5x!quant.uniform<i8:f32, 2.000000e+00:-1>>
    // CHECK: return %[[PAD]]
    
    // -----
    
    // Tests that a quantized `stablehlo.pad` with interior padding is converted to
    // `tfl.dilate` and `tfl.padv2`.
    
    func.func @pad_with_interior_padding(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      // CHECK-LABEL: padv2
      // CHECK:  "tfl.padv2"(%arg0, %arg1, %cst) : (tensor<2x1x3xf32>, tensor<3x2xi32>, tensor<f32>) -> tensor<?xf32>
      // CHECK:  return
    }
    
    func.func @padv2_5D(tensor<2x1x3x1x1xf32>, tensor<5x2xi32>) -> tensor<? x f32> {
    ^bb0(%arg0: tensor<2x1x3x1x1xf32>, %arg1: tensor<5x2xi32>):
      %cst = "tf.Const"() { value = dense<2.0> : tensor<f32> } : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/test_schema.fbs

      DELEGATE = 51,
      BIDIRECTIONAL_SEQUENCE_LSTM = 52,
      CAST = 53,
      PRELU = 54,
      MAXIMUM = 55,
      ARG_MAX = 56,
      MINIMUM = 57,
      LESS = 58,
      NEG = 59,
      PADV2 = 60,
      GREATER = 61,
      GREATER_EQUAL = 62,
      LESS_EQUAL = 63,
      SELECT = 64,
      SLICE = 65,
      SIN = 66,
      TRANSPOSE_CONV = 67,
      SPARSE_TO_DENSE = 68,
      TILE = 69,
      EXPAND_DIMS = 70,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 19 19:46:06 UTC 2021
    - 26.1K bytes
    - Viewed (0)
Back to top