Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for TF_Graph (0.17 sec)

  1. tensorflow/c/c_api_experimental.cc

        options.set_trace_level(tensorflow::RunOptions::NO_TRACE);
      }
      TF_Buffer* ret = TF_NewBuffer();
      TF_CHECK_OK(MessageToBuffer(options, ret));
      return ret;
    }
    
    const char* TF_GraphDebugString(TF_Graph* graph, size_t* len) {
      tensorflow::mutex_lock c(graph->mu);
      const auto& debug_str = graph->graph.ToGraphDefDebug().DebugString();
      *len = debug_str.size();
      char* ret = static_cast<char*>(malloc(*len + 1));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

        TF_DeleteBuffer(attr_buf);
      }
    
      const char* func_name_ = "MyFunc";
      const char* func_node_name_ = "MyFunc_0";
      TF_Status* s_;
      TF_Graph* func_graph_;
      TF_Graph* host_graph_;
      TF_Function* func_;
    
      // Workaround for not being able to initialize empty map using {}
      std::unordered_set<string> empty_;
    };
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  3. tensorflow/c/eager/parallel_device/parallel_device_test.cc

    void RegisterCollectiveMulFunction(TFE_Context* context,
                                       const char* function_name, int group_size,
                                       TF_Status* status) {
      std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> body(TF_NewGraph(),
                                                                TF_DeleteGraph);
      TF_OperationDescription* placeholder_desc =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  4. tensorflow/c/eager/c_api_experimental_test.cc

        TFE_DeleteExecutor(executor);
        TFE_DeleteContext(ctx);
      }
      TF_DeleteStatus(status);
    }
    
    TEST(CAPI, Function_ident_CPU) {
      // First create a simple identity function.
      TF_Graph* function_graph = TF_NewGraph();
      TF_OperationDescription* arg_descr =
          TF_NewOperation(function_graph, "Placeholder", "arg");
      TF_SetAttrType(arg_descr, "dtype", TF_INT32);
      TF_Status* status = TF_NewStatus();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
Back to top