Home
last modified time | relevance | path

Searched refs:parse_status (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/
Dsharding_util_test.cc36 auto parse_status = ParseShardingFromDevice("", 1); in TEST() local
37 TF_EXPECT_OK(parse_status.status()); in TEST()
38 EXPECT_EQ(-1, core_from_sharding(parse_status.ValueOrDie())); in TEST()
39 parse_status = ParseShardingFromDevice("", 100); in TEST()
40 TF_EXPECT_OK(parse_status.status()); in TEST()
41 EXPECT_EQ(-1, core_from_sharding(parse_status.ValueOrDie())); in TEST()
43 parse_status = ParseShardingFromDevice("/device:A_REPLICATED_CORE:-1", 100); in TEST()
44 EXPECT_FALSE(parse_status.ok()); in TEST()
46 parse_status = ParseShardingFromDevice("/device:A_REPLICATED_CORE:55", 100); in TEST()
47 TF_EXPECT_OK(parse_status.status()); in TEST()
[all …]
Dtf2xla_util_test.cc243 auto parse_status = ParseShardingFromDevice(*c_node, num_cores_per_replica); in TEST() local
244 TF_ASSERT_OK(parse_status.status()); in TEST()
245 ASSERT_TRUE(parse_status.ValueOrDie().has_value()); in TEST()
246 EXPECT_EQ(2, parse_status.ValueOrDie().value().tile_assignment_devices(0)); in TEST()
251 parse_status = ParseShardingFromDevice(*c_node, num_cores_per_replica); in TEST()
252 TF_ASSERT_OK(parse_status.status()); in TEST()
253 ASSERT_TRUE(parse_status.ValueOrDie().has_value()); in TEST()
254 EXPECT_EQ(1, parse_status.ValueOrDie().value().tile_assignment_devices(0)); in TEST()
258 parse_status = ParseShardingFromDevice(*a_node, num_cores_per_replica); in TEST()
259 TF_ASSERT_OK(parse_status.status()); in TEST()
[all …]
/external/tensorflow/tensorflow/python/util/
Dtransform_graph.i50 tensorflow::Status parse_status = in TransformGraphWithStringInputs() local
53 if (!parse_status.ok()) { in TransformGraphWithStringInputs()
54 tensorflow::Set_TF_Status_from_Status(out_status, parse_status); in TransformGraphWithStringInputs()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dtransform_graph.cc238 Status parse_status = in ParseFlagsAndTransformGraph() local
240 if (!parse_status.ok()) { in ParseFlagsAndTransformGraph()
242 << parse_status.error_message(); in ParseFlagsAndTransformGraph()
/external/deqp-deps/SPIRV-Tools/source/
Dtext_handler.cpp277 EncodeNumberStatus parse_status = ParseAndEncodeNumber( in binaryEncodeNumericLiteral() local
281 switch (parse_status) { in binaryEncodeNumericLiteral()
/external/swiftshader/third_party/SPIRV-Tools/source/
Dtext_handler.cpp277 EncodeNumberStatus parse_status = ParseAndEncodeNumber( in binaryEncodeNumericLiteral() local
281 switch (parse_status) { in binaryEncodeNumericLiteral()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc264 const int parse_status = ares_parse_srv_reply(abuf, alen, &reply); in on_srv_query_done_locked() local
265 if (parse_status == ARES_SUCCESS) { in on_srv_query_done_locked()
/external/iptables/extensions/
Dlibxt_conntrack.c268 parse_status(const char *status, size_t len, struct xt_conntrack_info *sinfo) in parse_status() function
293 if (comma == arg || !parse_status(arg, comma-arg, sinfo)) in parse_statuses()
298 if (strlen(arg) == 0 || !parse_status(arg, strlen(arg), sinfo)) in parse_statuses()
/external/libhevc/decoder/
Dihevcd_parse_slice.c3444 WORD32 parse_status = *(ps_codec->pu1_parse_map + ctb_indx); in ihevcd_parse_slice_data() local
3447 if(parse_status == proc_status) in ihevcd_parse_slice_data()
/external/libvpx/libvpx/third_party/libwebm/mkvparser/
Dmkvparser.cc4993 const long long parse_status = in Parse() local
4998 if (parse_status < 0 || parser_value < 0.0 || parser_value > 1.0 || in Parse()
/external/libvpx/libwebm/mkvparser/
Dmkvparser.cc5002 const long long parse_status = in Parse() local
5007 if (parse_status < 0 || parser_value < 0.0 || parser_value > 1.0 || in Parse()
/external/libaom/libaom/third_party/libwebm/mkvparser/
Dmkvparser.cc4993 const long long parse_status = in Parse() local
4998 if (parse_status < 0 || parser_value < 0.0 || parser_value > 1.0 || in Parse()