Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BINARY (0.13 sec)

  1. tensorflow/c/c_api_experimental.cc

        }
        VLOG(1) << "Adding func to graph: " << fdef_to_load.DebugString();
        std::vector<char> binary_proto_buf(fdef_to_load.ByteSizeLong());
        fdef_to_load.SerializeToArray(binary_proto_buf.data(),
                                      binary_proto_buf.size());
        TF_Function* func = TF_FunctionImportFunctionDef(
            binary_proto_buf.data(), binary_proto_buf.size(), status);
        if (!status->status.ok()) return {};
    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_test.cc

      TF_GraphGetOpDef(graph, "MyFakeOp", buffer, status);
      EXPECT_EQ(TF_NOT_FOUND, TF_GetCode(status));
      ExpectHasSubstr(TF_Message(status),
                      "Op type not registered 'MyFakeOp' in binary");
    
      TF_DeleteBuffer(buffer);
      TF_DeleteGraph(graph);
      TF_DeleteStatus(status);
    }
    
    void StringVectorToArrays(const std::vector<string>& v,
    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