Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for XlaCallModule (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc

          %0 = stablehlo.constant dense<[-0.211145893, -0.708605706]> : tensor<2xf32>
          %1 = stablehlo.constant dense<[[-0.630731344, 0.54962182], [0.180364341, -0.764542698]]> : tensor<2x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_calibration_statistics_saver.mlir

        %0 = "tf.XlaCallModule"(%output, %cst) <{Sout = [#tf_type.shape<10x1x3>], dim_args_spec = [], disabled_checks = [], function_list = [], has_token_input_output = false, module = "", platforms = ["CPU"], version = 9 : i64}> {_entry_function = @composite_dot_general_with_relu_fn_1,...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

    // Default platform for XlaCallModuleOp.
    constexpr StringRef kPlatformCpu = "CPU";
    // Name of `tf.XlaCallModule`'s dictionary attribute for keeping the
    // deserialized stablehlo module's attributes.
    constexpr StringRef kStablehloModuleAttrsAttrName = "_stablehlo_module_attrs";
    // Attribute required for running shape refinement pass enabled in XlaCallModule
    // version 8 and above.
    constexpr StringRef kUsesShapePolymorphismAttr = "jax.uses_shape_polymorphism";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc

        // legalizing to stablehlo.constant.
        AddTFToStablehloPasses(pm_after_freezing_variables, input_arg_shapes);
      }
    
      if (deserialize_xla_call_module) {
        // Deserialize the StableHLO module embedded in tf.XlaCallModule and lifts
        // the StableHLO functions to the top level module. This is needed for
        // StableHLO quantization. Also restores some shape information for
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/report_test.cc

      constexpr absl::string_view kNonQuantizedDotGeneral = R"mlir(
        func.func @main(%arg0: tensor<1x2xf32>) -> tensor<1x3xf32> {
          %0 = stablehlo.constant dense<3.000000e+0> : tensor<2x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 10:10:34 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h

    inline FlatSymbolRefAttr GetFuncAttr(TF::XlaCallModuleOp call_op) {
      return call_op->getAttrOfType<FlatSymbolRefAttr>(
          TF::kStablehloEntryFunctionAttrName);
    }
    
    // Returns the entry function name for the given tf.XlaCallModule op. Returns
    // empty string if such attribute does not exist.
    StringRef GetEntryFunctionName(TF::XlaCallModuleOp op);
    
    // Checks whether the given op contains QuantizationTrait::FullyQuantizable.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.td

         function block to be compatible with SavedModel structure.
      }];
    }
    
    def RestoreFunctionNamePass : Pass<"stablehlo-restore-function-name", "ModuleOp"> {
      let summary = "Restores function name from XlaCallModule op.";
    }
    
    def QuantizeCompositeFunctionsPass : Pass<"stablehlo-quantize-composite-functions", "ModuleOp"> {
      let summary = "Quantize composite functions with QDQ input / outputs.";
      let options = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/flags.h

        // XlaCompile and XlaRun ops. This can only be modified programmatically.
        absl::flat_hash_set<std::string> xla_compile_and_run_allowed_devices_;
      } tf_xla_use_device_api;
    };
    
    // Flags for the XlaCallModule kernel.
    struct XlaCallModuleFlags {
      // Used by XlaCallModuleOp to specify safety checks to disable.
      absl::flat_hash_set<std::string> disabled_checks;
    };
    
    // Flags for the build_xla_ops pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top