Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for XlaConvV2 (0.21 sec)

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

    // CHECK-SAME: value = dense<1> : tensor<i32>
    
    // Check that the constants that are input to XlaConvV2's 3rd and 4th
    // arguments are not duplicated.
    // CHECK-NOT: "tf.Const"()
    
    // Check that the constants used for tf.XlaConvV2 and tf.AddV2s are different.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 07:44:46 UTC 2022
    - 11K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/fake_quant_e2e_xla.mlir

    // 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>
    // CHECK: %[[dequant1:.*]] = "tf.Mul"(%[[cast]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_ops_on_regular_devices.cc

                                  .Device(DEVICE),                                 \
                              XlaCompileOnDemandOp);                               \
      REGISTER_KERNEL_BUILDER(Name("XlaConvV2")                                    \
                                  .HostMemory("window_strides")                    \
                                  .HostMemory("padding")                           \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 19 19:55:14 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.td

    def IsEinsumOpSupported : Constraint<
      CPred<"IsEinsumOpSupported($0, $1, $2)">,
      "Check if the given einsum op could be converted into a XlaDotV2 op.">;
    
    // Converts inlined Conv2D pattern to TF XlaConvV2 op. This pattern doesn't
    // support non-constant weights.
    def ConvertTFConv2DToXLAConvOp : Pat<
      (TF_Conv2DOp:$conv
        (TF_SubOp (TF_CastOp $input, $truncate), $input_zp),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

        %strides = "tf.Const"() {value = dense<[3, 1, 1]> : tensor<3xi32>} : () -> tensor<3xi32>
        // expected-error @below {{'tf.XlaConvV2' op feature_group_count must be a positive number, got -1}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/replace_cast_hacks_with_tf_xla_ops_large_constants.mlir

    // 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)
  7. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

            self._output_saved_model_path_2
        )
        graphdef = loader.get_meta_graph_def_from_tags(tags).graph_def
        if target_opset == quant_opts_pb2.XLA:
          self.assertTrue(
              self._contains_op(graphdef, 'XlaConvV2', node_name='sample/conv2d.*')
          )
    
        new_outputs = converted_model.signatures[signature_key](
            input=ops.convert_to_tensor(input_data)
        )
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/replace_cast_hacks_with_tf_xla_ops.mlir

    // CHECK: %[[PADV2_0:.*]] = "tf.PadV2"({{.*}}, %[[CONST_4]], %[[CONST_5]]) : (tensor<1x3x4x3xi8>, tensor<4x2xi32>, tensor<i8>) -> tensor<1x4x5x3xi8>
    // CHECK: %[[XLACONVV2_0:.*]] = "tf.XlaConvV2"(%[[PADV2_0]], %[[CONST_6]], %[[CONST_0]], %[[CONST_3]], %[[CONST_1]], %[[CONST_1]], %[[CONST_2]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 81K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      %strides = "tf.Const"() {value = dense<[3, 1, 1]> : tensor<3xi32>} : () -> tensor<3xi32>
      // / expected-error@+1 {{'tf.XlaConvV2' op expects feature_group_count to be a scalar}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/compilability_check_util.cc

        new absl::flat_hash_set<std::string>{"XlaBroadcastHelper",
                                             "XlaCallModule",
                                             "XlaConv",
                                             "XlaConvV2",
                                             "XlaDequantize",
                                             "XlaDot",
                                             "XlaDotV2",
                                             "XlaDynamicSlice",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top