- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for proto2 (0.15 sec)
-
tensorflow/c/c_api_test.cc
string bytes1, bytes2; tensorflow::TensorShapeProto proto; const int64_t pts1[] = {2, 4, -1, 8}; tensorflow::PartialTensorShape(pts1).AsProto(&proto); proto.SerializeToString(&bytes1); const int64_t pts2[] = {1, 3, 5, 7}; tensorflow::PartialTensorShape(pts2).AsProto(&proto); proto.SerializeToString(&bytes2); std::unique_ptr<const void*[]> list_ptrs;
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) -
tensorflow/c/eager/c_api_test.cc
TFE_TensorHandle* retval[1] = {nullptr}; int num_retvals = 1; TFE_Op* op = TFE_NewOp(ctx, "AddFunction", status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); // Add a config_proto attr, to trigger grappler graph rewrites in the current // eager runtime. if (enable_grappler) { tensorflow::ConfigProto config; // Do not skip grappler optimization even for small graphs.
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) -
tensorflow/BUILD
config_setting( name = "lite_protos_legacy", define_values = {"TENSORFLOW_PROTOS": "lite"}, visibility = ["//visibility:public"], ) config_setting( name = "full_protos", define_values = {"TENSORFLOW_PROTOS": "full"}, visibility = ["//visibility:public"], ) selects.config_setting_group( name = "lite_protos", match_any = [":lite_protos_legacy"],
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 09 18:15:11 GMT 2024 - 53.4K bytes - Viewed (8) -
tensorflow/c/c_api_function_test.cc
{}); } TEST_F(CApiFunctionTest, ImportFunctionDef_InvalidProto) { // Invalid protobuf data (protos cannot start with 4 bytes of zeros) char proto[] = {0x0, 0x0, 0x0, 0x0}; func_ = TF_FunctionImportFunctionDef(proto, 4, s_); EXPECT_TRUE(func_ == nullptr); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
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) -
.bazelrc
# opts in to modular op registration support by default. build --define framework_shared_object=true build --define tsl_protobuf_header_only=true build --define=use_fast_cpp_protos=true build --define=allow_oversize_protos=true build --spawn_strategy=standalone build -c opt # Make Bazel print out all options from rc files. build --announce_rc
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu May 02 19:34:20 GMT 2024 - 52.8K bytes - Viewed (2) -
tensorflow/c/c_api.h
// `proto` must point to an array of `proto_len` bytes representing a // binary-serialized TensorShapeProto. TF_CAPI_EXPORT extern void TF_SetAttrTensorShapeProto( TF_OperationDescription* desc, const char* attr_name, const void* proto, size_t proto_len, TF_Status* status); // `protos` and `proto_lens` must point to arrays of length `num_shapes`. // `protos[i]` must point to an array of `proto_lens[i]` bytes
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3)