Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for nodejs (0.17 sec)

  1. tensorflow/c/c_api.cc

          // Fill graph_def with nodes with ids in the range
          // [session->last_num_graph_nodes, num_nodes), that is the nodes
          // added since the last TF_SessionRun() call.
          for (auto id = session->last_num_graph_nodes; id < num_nodes; ++id) {
            Node* const node = graph.FindNodeId(id);
            if (node != nullptr && node->IsOp()) {
              NodeDef* const node_def = graph_def.add_node();
    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)
  2. tensorflow/c/c_api_function.cc

        }
      }
    
      // Compute body nodes.
      std::vector<const Node*> body_nodes;
      status->status = tensorflow::ComputeBodyNodes(
          fn_body, fn_name, num_opers, opers, input_nodes, &body_nodes);
      if (TF_GetCode(status) != TF_OK) return nullptr;
    
      // Compute body nodes.
      std::vector<const Node*> control_output_nodes;
      control_output_nodes.reserve(ncontrol_outputs);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  3. tensorflow/c/eager/c_api_experimental.cc

      status->status = absl::OkStatus();
    }
    
    TFE_Executor* TFE_NewExecutor(bool is_async, bool enable_streaming_enqueue,
                                  int in_flight_nodes_limit) {
      return new TFE_Executor(is_async, enable_streaming_enqueue,
                              in_flight_nodes_limit);
    }
    
    void TFE_DeleteExecutor(TFE_Executor* executor) { delete executor; }
    
    bool TFE_ExecutorIsAsync(TFE_Executor* executor) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  4. tensorflow/c/eager/c_api.cc

    #include "tensorflow/core/platform/platform.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/profiler/lib/traceme.h"
    #include "tensorflow/core/protobuf/error_codes.pb.h"
    #include "tensorflow/core/public/version.h"
    
    #if !defined(IS_MOBILE_PLATFORM)
    #include "tensorflow/core/common_runtime/eager/context_distributed_manager.h"
    #endif  // !IS_MOBILE_PLATFORM
    
    using tensorflow::string;
    
    namespace {
    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)
  5. tensorflow/c/c_api_test.cc

    TEST(CAPI, MessageBufferConversion) {
      NodeDef node_in, node_out;
      node_in.set_name("Test name");
      node_in.set_op("Test op");
    
      TF_Buffer* buffer = TF_NewBuffer();
      TF_CHECK_OK(MessageToBuffer(node_in, buffer));
      TF_CHECK_OK(BufferToMessage(buffer, &node_out));
      TF_DeleteBuffer(buffer);
    
      protobuf::util::MessageDifferencer differencer;
      EXPECT_TRUE(differencer.Compare(node_in, node_out));
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top