Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mutex_lock (0.58 sec)

  1. tensorflow/c/c_api.cc

      GraphDef def;
      {
        mutex_lock l(graph->mu);
        graph->graph.ToGraphDef(&def);
      }
      status->status = MessageToBuffer(def, output_graph_def);
    }
    
    void TF_GraphGetOpDef(TF_Graph* graph, const char* op_name,
                          TF_Buffer* output_op_def, TF_Status* status) {
      const OpDef* op_def;
      {
        mutex_lock l(graph->mu);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        mlir::SymbolTable::setSymbolName(func, new_sym_name);
      }
    
      // Copy all functions used by this signature to the final MLIR module.
      for (auto func : sub_module.getOps<mlir::func::FuncOp>()) {
        absl::MutexLock l(&symbol_table_mu_);
        // The insert here is a NO-OP if the function already exists.
        symbol_table_.insert(func.clone());
      }
    
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top