Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for inro (0.18 sec)

  1. tensorflow/c/eager/c_api.cc

    namespace {
    class CustomDeviceAPI : public tensorflow::CustomDevice {
     public:
      CustomDeviceAPI(TFE_Context* context, TFE_CustomDevice device, void* info,
                      string name)
          : context_(context), device_(device), info_(info), name_(name) {}
    
      ~CustomDeviceAPI() override { device_.delete_device(info_); }
    
      const string& name() override { return name_; }
    
      tensorflow::Status CopyTensorToDevice(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  2. tensorflow/c/c_api.cc

        const Graph& graph = session->graph->graph;
    
        const string& mutation_warning = session->graph->sessions[session];
        if (!mutation_warning.empty()) {
          // TODO(b/74949947): turn this back into an error status
          LOG(WARNING) << mutation_warning;
          session->graph->sessions[session].clear();
        }
    
        const auto num_nodes = graph.num_node_ids();
        if (session->last_num_graph_nodes < num_nodes) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/next_pluggable_device/c_api.cc

                                        var_info->var_info.var()->tensor()->shape(),
                                        var_info->var_info.var()->tensor());
      status->status = cc_status;
    }
    
    TF_Tensor* TF_GetTensorFromVariableInfo(TF_VariableInfo* var_info,
                                            TF_Status* status) {
      absl::Status cc_status;
      if (var_info == nullptr) {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
Back to top