- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for XlaCallModule (0.17 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc
if (called_index < 0 || called_index >= function_list.size()) { op->emitOpError() << "references function #" << called_index << " but enclosing XlaCallModule has a function list of size " << function_list.size(); return WalkResult::interrupt(); } llvm::SmallVector<NamedAttribute> new_config;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py
) -> str: """Extracts the first XlaCallModule op from output saved model to string.""" root = load.load(output_saved_model_path) tf_graph_def = root.signatures['serving_default'].graph.as_graph_def() for function in tf_graph_def.library.function: for node_def in function.node_def: if node_def.op == 'XlaCallModule': with ir.Context() as context:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 18.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize_same_scale.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 35.4K bytes - Viewed (0) -
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/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/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/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)