Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for saveInsertionPoint (0.13 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.cc

                                 QuantizedType)>
            quantization_operations_func) {
      Operation* input_op = input_val.getDefiningOp();
      auto original_point = rewriter.saveInsertionPoint();
    
      auto unique_func_name = func_name.str();
      SymbolTable symbol_table(input_op->getParentOfType<ModuleOp>());
      while (symbol_table.lookup(unique_func_name)) {
        absl::StrAppend(&unique_func_name, "_");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

    void WrapOpInLaunch(OpBuilder* builder, Location loc, Operation* op,
                        llvm::StringRef device) {
      OpBuilder::InsertPoint insert_point = builder->saveInsertionPoint();
    
      auto launch = builder->create<tf_device::LaunchOp>(
          loc, builder->getStringAttr(device), op->getResultTypes());
      launch.getBody().push_back(new Block);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      // Note, 'inputs' and 'outputs' are the predetermined set of values that
      // should become the operands and return values, respectively.
      auto insertion_point = builder.saveInsertionPoint();
      func::FuncOp new_func = CreateFnWithSignature(module, inputs, outputs,
                                                    absl::StrCat("_func_", name));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top