Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for reserialize (0.17 sec)

  1. tensorflow/c/c_api.cc

      tensorflow::core::CppShapeInferenceResult::HandleData handle_data;
      if (!handle_data.ParseFromArray(proto, proto_len)) {
        status->status =
            absl::InvalidArgumentError("Couldn't deserialize HandleData proto");
        return;
      }
      DCHECK(handle_data.is_set());
    
      tensorflow::mutex_lock l(graph->mu);
      tensorflow::shape_inference::InferenceContext* ic =
    C++
    - Registered: Tue Apr 23 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_test.cc

      TF_Operation* neg = Neg(add, graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Serialize to NodeDef.
      NodeDef node_def;
      ASSERT_TRUE(GetNodeDef(neg, &node_def));
    
      // Validate NodeDef is what we expect.
      EXPECT_TRUE(IsNeg(node_def, "add"));
    
      // Serialize to GraphDef.
      GraphDef graph_def2;
      ASSERT_TRUE(GetGraphDef(graph, &graph_def2));
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  3. tensorflow/c/c_api_function_test.cc

        VerifyFDefNodes(fdef, nodes);
        VerifyFDefInputs(fdef, inputs);
        VerifyFDefOutputs(fdef, outputs);
        VerifyFDefEdges(fdef, e_edges, c_edges, is_exact_edges);
      }
    
      // Serialize func_ to fdef and import it back
      void Reincarnate() {
        // func_ -> fdef
        tensorflow::FunctionDef fdef;
        ASSERT_TRUE(GetFunctionDef(func_, &fdef));
        TF_DeleteFunction(func_);
    
        // fdef -> func_
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top