- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for XlaCallModule (0.17 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/passes.h
//===----------------------------------------------------------------------===// // XlaCallModule //===----------------------------------------------------------------------===// // Creates a pass that deserializes functions in the StableHLO modules from // `tf.XlaCallModule` to the top-level module. std::unique_ptr<OperationPass<ModuleOp>> CreateXlaCallModuleDeserializationPass();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 31.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_custom_aggregation_ops.mlir
// MIN-MAX-CHECK: %[[ARG1_AGG:.*]], {{.*}}, {{.*}}, {{.*}} = "tf.CustomAggregator"(%[[ARG1_ID]]) // MIN-MAX-CHECK-SAME: id = "composite_dot_general_fn_1_arg_1_calibration_method_1" // MIN-MAX-CHECK: %[[RES:.*]] = "tf.XlaCallModule"(%[[ARG0_AGG]], %[[ARG1_AGG]]) // MIN-MAX-CHECK: %[[RES_AGG:.*]], {{.*}}, {{.*}}, {{.*}} = "tf.CustomAggregator"(%[[RES]]) // MIN-MAX-CHECK-SAME: id = "composite_dot_general_fn_1_calibration_method_1"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 32.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc
namespace mlir { namespace odml { static constexpr std::string_view kStablehloModuleDefaultEntryFuncName = "main"; static constexpr std::string_view kStablehloFuncNamePrefix = "XlaCallModule"; static constexpr char kShardingAttr[] = "mhlo.sharding"; static constexpr char kShardingName[] = "Sharding"; class RemoveCustomCallWithSharding : public OpRewritePattern<stablehlo::CustomCallOp> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 25 09:43:18 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 22.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_calibration_statistics_saver.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 24.3K bytes - Viewed (0) -
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) -
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) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/report_test.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 10:10:34 UTC 2024 - 18.5K bytes - Viewed (0) -
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) -
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)