Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for notes (0.13 sec)

  1. tensorflow/c/c_api_function_test.cc

                           const std::unordered_set<string>& nodes) {
        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)
  2. tensorflow/c/c_api_test.cc

      TF_DeleteBuffer(graph_def);
    
      // Can add nodes to the imported graph without trouble.
      Add(feed, scalar, graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_DeleteGraph(graph);
      TF_DeleteStatus(s);
    }
    
    TEST(CAPI, ImportGraphDef_WithReturnOutputs) {
      TF_Status* s = TF_NewStatus();
      TF_Graph* graph = TF_NewGraph();
    
      // Create a graph with two nodes: x and 3
      Placeholder(graph, s);
    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. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    //  bazel test //tensorflow/c/experimental/filesystem:modular_filesystem_test \\
    //  --test_arg=--dso=/path/to/one.so --test_arg=--dso=/path/to/another.so \\
    //  --test_arg=--scheme= --test_arg=--scheme=file
    //
    // Note that to test the local filesystem we use an empty value.
    
    namespace tensorflow {
    namespace {
    
    using ::tensorflow::error::Code;
    
    // As we need to test multiple URI schemes we need a parameterized test.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  4. 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)
Back to top