Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getModuleAttr (0.16 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc

      auto result = func_op->walk([&](TF::XlaCallModuleOp op) {
        // Converts the serialized StableHLO module to bfloat16.
        auto result =
            ConvertSerializedStableHloModuleToBfloat16(op.getModuleAttr());
        if (!result.ok()) {
          llvm::errs() << "Failed to convert StableHLO module to bfloat16: "
                       << result.status().message();
          return WalkResult::interrupt();
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc

                                    PatternRewriter &rewriter) const override {
        OwningOpRef<ModuleOp> stablehlo_module_op =
            stablehlo::deserializePortableArtifact(op.getModuleAttr(),
                                                   getContext());
        if (stablehlo_module_op.get() == nullptr) {
          return failure();
        }
        SymbolTable parent_module_symbol_table(module_op_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 25 09:43:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc

      // quantized.
      auto new_call_op = rewriter.create<TF::XlaCallModuleOp>(
          call_op.getLoc(), call_op.getResultTypes(), call_op.getOperands(),
          call_op.getVersionAttr(), call_op.getModuleAttr(), call_op.getSoutAttr());
      new_call_op->setAttr(kEntryFuncAttrName,
                           rewriter.getStringAttr(new_ref_func_name.getValue()));
      new_call_op->setAttrs(call_op->getAttrs());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top