Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for XlaCallModule (0.18 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/unwrap_xla_call_module_op.mlir

    // RUN: stablehlo-quant-opt %s -split-input-file -stablehlo-unwrap-xla-call-module-op | FileCheck %s
    
    // Tests if XlaCallModule op without quantizable trait that calls function with
    // '_from_xla_call_module' trait is unwrapped.
    // Tests if XlaCallModule op with quantizable trait is not unwrapped.
    // Tests if XlaCallModule op without quantizable trait that calls function
    // without '_from_xla_call_module' trait is not unwrapped.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 22:40:14 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/xla_call_module_attrs.h

    constexpr llvm::StringRef kStablehloMainFunctionName = "main";
    
    // After deserializing the stablehlo functions from XlaCallModule,
    // this XlaCallModule attribute refers to the deserialized stablehlo main
    // function.
    constexpr llvm::StringRef kStablehloEntryFunctionAttrName = "_entry_function";
    
    // Every stablehlo function deserialized from XlaCallModule has this attribute.
    constexpr llvm::StringRef kFromXlaCallModuleAttrName = "_from_xla_call_module";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 22:08:10 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions.mlir

      }
    }
    
    // CHECK-LABEL: @conv_3_fn
    // CHECK: tf.XlaCallModule
    // CHECK-SAME: _entry_function = @composite_conv_fn_6, _original_entry_function = "composite_conv_fn_6"
    // CHECK: tf.XlaCallModule
    // CHECK-SAME: _entry_function = @composite_conv_fn_5, _original_entry_function = "composite_conv_fn_5"
    
    // CHECK-LABEL: @conv_1_fn
    // CHECK: tf.XlaCallModule
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/xla_call_module_to_call.mlir

    // -----
    
    // Tests composite tf.XlaCallModule is converted to func.call.
    
    module {
      // CHECK-LABEL: func.func @main
      func.func @main(%arg0: tensor<1x1024xf32>) -> tensor<1x3xf32> {
        // CHECK: call @composite_dot_general_fn_1
        // CHECK-SAME: (tensor<1x1024xf32>, tensor<1024x3xf32>) -> tensor<1x3xf32>
        // CHECK-NOT: tf.XlaCallModule
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 20:02:00 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/restore_function_name.mlir

      // CHECK-SAME: %[[ARG0:[^:[:space:]]+]]
      // CHECK-SAME: %[[ARG1:[^:[:space:]]+]]
      func.func private @serving_default(%arg0: tensor<1x4xf32>, %arg1: tensor<4x3xf32>) -> tensor<1x3xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 22:40:14 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_weight_param.mlir

    // between constant and XlaCallModule op with empty `weight_only_ptq` method
    // and function name containing conv.
    
    func.func @qdq_for_conv_weight_empty(%arg0: tensor<1x3x2x3xf32>) -> tensor<1x2x2x2xf32> attributes {tf._original_func_name = "main_0"} {
      %cst = "tf.Const"() {value = dense<3.000000e-01> : tensor<2x3x3x2xf32>} : () -> tensor<2x3x3x2xf32>
      %0 = "tf.XlaCallModule"(%arg0, %cst) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 22K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/add_dump_tensor_op_stablehlo.mlir

        %2 = "tf.XlaCallModule"(%arg0, %1, %0) <{Sout = [#tf_type.shape<?x2>], module = "", version = 9 : i64}> {_entry_function = @composite_dot_general_with_bias_and_relu6_dynamic_fn_2, _original_entry_function = "composite_dot_general_with_bias_and_relu6_dynamic_fn_2", _tfl_quant_trait = "fully_quantizable"} : (tensor<?x2xf32>, tensor<2x2xf32>, tensor<2xf32>) -> tensor<?x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 18K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.mlir

      // CHECK: %[[XLA_CALL_MODULE:.*]] = "tf.XlaCallModule"(%[[CUSTOM_AGGREGATOR_1]], %[[SUBGRAPH_1]]) <{Sout = [#tf_type.shape<1024x3>], {{.*}}}> {_entry_function = @composite_dot_general_fn_1, _original_entry_function = "composite_dot_general_fn_1"
      // CHECK: %[[CUSTOM_AGGREGATOR_2:.*]], {{.*}}, {{.*}}, {{.*}} = "tf.CustomAggregator"(%[[XLA_CALL_MODULE:.*]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/xla_call_module_deserialization.mlir

    // RUN: tf-opt %s -split-input-file -tf-xla-call-module-deserialization | FileCheck %s
    
    // Tests that `tf.XlaCallModule` with both StableHLO module and TF function
    // calls can be deserialized.
    
    // CHECK-LABEL: module
    module {
      // CHECK-LABEL: func private @_tf_func
      func.func private @_tf_func(%arg0: tensor<?xi32>, %arg1: tensor<*xi32>) {
        // CHECK: tf.StreamResults
    
        // StreamResults is a pseudo op in this test.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 02 18:38:51 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize.mlir

    }
    
    // -----
    
    // Tests that the output of the tf.XlaCallModule op has been replaced by
    // a quantized type, and the corresponding quantfork.qcast ops that turned
    // the float output to a quantized type is removed.
    
    // CHECK-LABEL: quantize_simple_xla_call_module_no_operand
    func.func private @quantize_simple_xla_call_module_no_operand() -> tensor<1x3xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 01:38:40 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top