Searched refs:slice_def (Results 1 – 3 of 3) sorted by relevance
/external/grpc-grpc/tools/codegen/core/ |
D | gen_static_metadata.py | 428 def slice_def(i): function 475 print >> C, slice_def(i) + ',' 611 print >> C, '{%s,%s},' % (slice_def(str_idx(elem[0])), 612 slice_def(str_idx(elem[1])))
|
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/ |
D | distributed_tpu_rewrite_pass.cc | 997 NodeDef slice_def; in CreateSliceNode() local 998 slice_def.set_name( in CreateSliceNode() 1000 slice_def.set_op("Slice"); in CreateSliceNode() 1001 slice_def.set_device(std::string(device)); in CreateSliceNode() 1002 AddNodeAttr("T", dtype, &slice_def); in CreateSliceNode() 1003 AddNodeAttr("Index", DT_INT32, &slice_def); in CreateSliceNode() 1004 slice_def.add_input(absl::StrCat(concat_node->name(), ":", concat_out_index)); in CreateSliceNode() 1005 slice_def.add_input(absl::StrCat(begin_node->name(), ":0")); in CreateSliceNode() 1006 slice_def.add_input(absl::StrCat(size_node->name(), ":0")); in CreateSliceNode() 1007 Node* slice_node = graph->AddNode(slice_def, &s); in CreateSliceNode()
|
/external/rust/crates/grpcio-sys/grpc/tools/codegen/core/ |
D | gen_static_metadata.py | 403 def slice_def(i): function
|