Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setPrivate (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

                       ModuleOp to) {
      SymbolTable &to_symbol_table = symbol_tables.getSymbolTable(to);
      for (auto func : llvm::make_early_inc_range(from.getOps<func::FuncOp>())) {
        func->remove();
        func.setPrivate();
        to_symbol_table.insert(func);
      }
    }
    
    void CopyStablehloModuleAttrs(ModuleOp stablehlo_module, XlaCallModuleOp op) {
      op->setAttr(kStablehloModuleAttrsAttrName,
    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/lite/stablehlo/odml_converter/transforms/outline_composites.cc

      auto name = rewriter.getStringAttr("gelu_decomp");
      func::FuncOp new_func = rewriter.create<func::FuncOp>(
          insertion_point->front().getLoc(), name, ftype);
      new_func.setPrivate();
      new_func.addEntryBlock();
      rewriter.setInsertionPointToStart(&new_func.getBody().front());
    
      auto one_val = DenseElementsAttr::get(type, kOne);
      auto one_cst =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

              subgraph, &builder, "outputs", func_outputs));
        }
        if (!attributes.empty()) {
          func->setAttr("tf.entry_function", builder.getDictionaryAttr(attributes));
        }
      } else {
        func.setPrivate();
      }
    
      // Set signature on function.
      if (signature) {
        SetSignature(func, signature, subgraph.tensors);
      }
    
      absl::flat_hash_set<const tflite::OperatorT*> pruned_subgraph_ops;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
Back to top