Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for nodeV (0.2 sec)

  1. tensorflow/c/c_api_internal.h

                              const char* node_name)
          : node_builder(node_name, op_type, g->graph.op_registry()), graph(g) {}
    
      tensorflow::NodeBuilder node_builder;
      TF_Graph* graph;
      std::set<tensorflow::string> colocation_constraints;
    };
    
    struct TF_Operation {
      tensorflow::Node node;
    
     private:
      ~TF_Operation() = default;
    };
    
    struct TF_Session {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  2. 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)
  3. .gitignore

    .DS_Store
    .ipynb_checkpoints
    node_modules
    /.bazelrc.user
    /.tf_configure.bazelrc
    /xla_configure.bazelrc
    /bazel-*
    /bazel_pip
    /tools/python_bin_path.sh
    /tensorflow/tools/git/gen
    /pip_test
    /_python_build
    *.pyc
    __pycache__
    *.swp
    .vscode/
    cmake_build/
    tensorflow/contrib/cmake/_build/
    .idea/**
    /build/
    [Bb]uild/
    /build_output/
    /tensorflow/core/util/version_info.cc
    /tensorflow/python/framework/fast_tensor_util.cpp
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Jan 31 22:28:59 GMT 2024
    - 934 bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental_test.cc

        TFE_DeleteContextOptions(opts);
        TFE_Executor* executor = TFE_NewExecutor(
            /*is_async=*/false, /*enable_streaming_enqueue=*/true,
            /*in_flight_nodes_limit=*/0);
        TFE_ContextSetExecutorForThread(ctx, executor);
    
        TFE_DeleteContext(ctx);
        TFE_DeleteExecutor(executor);
      }
    
      {
        TFE_ContextOptions* opts = TFE_NewContextOptions();
    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)
  5. tensorflow/c/eager/c_api_unified_experimental_test.cc

        TF_OutputList* add_outputs = TF_NewOutputList();
        TF_OutputListSetNumOutputs(add_outputs, 1, status.get());
        ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
        // Trace the operation now (create a node in the graph).
        TF_ExecuteOperation(add_op, 2, inputs, add_outputs, s);
        ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        TF_DeleteAbstractOp(add_op);
        // Extract the resulting tensor.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test.cc

        tensorflow::ConfigProto config;
        // Do not skip grappler optimization even for small graphs.
        config.mutable_graph_options()
            ->mutable_rewrite_options()
            ->set_min_graph_nodes(-1);
        string serialized_config;
        ASSERT_TRUE(config.SerializeToString(&serialized_config));
        TFE_OpSetAttrString(
            op, "config_proto",
            reinterpret_cast<const void*>(serialized_config.c_str()),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  7. 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)
  8. tensorflow/c/c_api_function_test.cc

        ASSERT_EQ(nodes.size(), fdef.node_def_size())
            << "Got unexpected number of nodes. Expected: ["
            << absl::StrJoin(nodes, ", ")
            << "] Actual nodes in fdef: " << fdef.DebugString();
        for (const NodeDef& node_def : fdef.node_def()) {
          ASSERT_TRUE(nodes.find(node_def.name()) != nodes.end())
              << "Got unexpected node: " << node_def.name()
    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)
  9. tensorflow/c/experimental/grappler/grappler.cc

      TF_SetStatus(status, TF_OK, "");
      const std::unordered_set<std::string>& nodes =
          reinterpret_cast<const tensorflow::grappler::GrapplerItem*>(item)
              ->NodesToPreserve();
      *num_values = nodes.size();
      *storage_size = 0;
      for (const std::string& str : nodes) {
        *storage_size += str.size();
      }
    }
    
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  10. tensorflow/c/experimental/grappler/grappler.h

    typedef enum TF_TriState {
      TF_TriState_Default = 0,
      TF_TriState_Off,
      TF_TriState_On,
    } TF_TriState;
    
    // TF_GrapplerItem represents a combination of a graph, one of more fetch nodes,
    // and potentially a set of nodes to feed.
    typedef struct TF_GrapplerItem TF_GrapplerItem;
    
    // Flags indicating whether existing optimizers should be turned off.
    // It's optional for plugin to set functions to return true/false. If not
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
Back to top