Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for XlaCallModule (0.17 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize_same_scale.mlir

        %3 = "quantfork.dcast"(%2) : (tensor<2x3x!quant.uniform<i8<-127:127>:f32:1, {6.000000e-03,6.000000e-03,6.000000e-03}>>) -> tensor<2x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  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)
Back to top