- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Clarke (0.13 sec)
-
tensorflow/c/c_api.cc
// make sure there is no information loss. if (proto_len > std::numeric_limits<int>::max()) { status->status = InvalidArgument( "proto_len (", proto_len, " bytes) is too large to be parsed by the protocol buffer library"); return; } TensorShapeProto shape; if (shape.ParseFromArray(proto, static_cast<int>(proto_len))) { desc->node_builder.Attr(attr_name, shape);
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) -
tensorflow/c/c_api_test.cc
TF_TString* data = static_cast<TF_TString*>(TF_TensorData(t)); for (int i = 0; i < batch_size; ++i) { TF_TString_Init(&data[i]); // The following input string length is large enough to make sure that // copy to tstring in large mode. std::string source = "This is the " + std::to_string(i + 1) + "th. data element\n"; TF_TString_Copy(&data[i], source.c_str(), source.length()); }
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)