Home
last modified time | relevance | path

Searched refs:ret_types (Results 1 – 25 of 43) sorted by relevance

12

/external/clang/utils/VtableTest/
Dgen.cc32 short ret_types[N_STRUCTS][N_FUNCS*FUNCSPACING]; variable
48 if (!ret_types[base][i]) in add_bases()
50 if (!ret_types[s][i]) { in add_bases()
51 ret_types[s][i] = ret_types[base][i]; in add_bases()
54 if (base_present[ret_types[base][i]][ret_types[s][i]]) in add_bases()
56 ret_types[s][i] = ret_types[base][i]; in add_bases()
57 if (base_present[ret_types[s][i]][ret_types[base][i]]) in add_bases()
61 ret_types[s][i] = s; in add_bases()
161 || !base_present[ret_type][ret_types[s][fn]]) in gs()
162 if (ret_types[s][fn]) { in gs()
[all …]
/external/tensorflow/tensorflow/core/ops/
Dlist_ops.cc73 const FullTypeDef& ret_types = c->ret_types(); in __anon6c1e81940202() local
76 {element_shape, element_dtype, ret_types.args(0)}}); in __anon6c1e81940202()
113 const FullTypeDef& ret_types = c->ret_types(); in __anon6c1e81940302() local
116 {element_shape, element_dtype, ret_types.args(0)}}); in __anon6c1e81940302()
164 const FullTypeDef& ret_types = c->ret_types(); in __anon6c1e81940402() local
167 {element_shape, element_dtype, ret_types.args(0)}}); in __anon6c1e81940402()
362 const FullTypeDef& ret_types = c->ret_types(); in __anon6c1e81940902() local
365 {element_shape, element_dtype, ret_types.args(0)}}); in __anon6c1e81940902()
391 const FullTypeDef& ret_types = c->ret_types(); in __anon6c1e81940a02() local
394 {element_shape, element_dtype, ret_types.args(0)}}); in __anon6c1e81940a02()
[all …]
/external/tensorflow/tensorflow/core/tfrt/eager/
Dfunction_cache.h47 TfrtDataTypeSlice arg_types, tensorflow::DataTypeSlice ret_types, in CreateFunctionState() argument
51 return TakeRef(new FunctionState(arg_types, ret_types, in CreateFunctionState()
68 TfrtDataTypeSlice arg_types, tensorflow::DataTypeSlice ret_types, in FunctionState() argument
72 ret_types_(ret_types.begin(), ret_types.end()), in FunctionState()
Dtransform_graph_function.cc53 DataTypeVector ret_types; in TransformGraphFunction() local
57 &ret_node_names, &ret_types, &control_ret_node_names)); in TransformGraphFunction()
Dfunction_cache.cc128 for (const auto& ret_type : fbody->ret_types) { in GetOrAddFunction()
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dtype_inference.py363 ret_types = None
365 ret_types, _ = self.resolver.res_name(
368 self._check_set(ret_types)
370 if ret_types is None:
371 ret_types = {Any}
374 for rt in ret_types:
382 ret_types = set()
390 ret_types.add(args[-1])
392 ret_types.add(Any)
398 return ret_types, side_effects
/external/tensorflow/tensorflow/core/common_runtime/
Dfunction_body.h35 DataTypeVector ret_types; member
46 DataTypeSlice ret_types, Graph* g);
Dfunction.cc165 Status GetRetTypes(Handle h, DataTypeVector* ret_types) override;
232 DataTypeVector* ret_types) { in GetRetTypes() argument
233 return base_flr_->GetRetTypes(h, ret_types); in GetRetTypes()
346 Status GetRetTypes(Handle handle, DataTypeVector* ret_types) override;
590 DataTypeVector* ret_types) { in GetRetTypes() argument
592 return parent_->GetRetTypes(h, ret_types); in GetRetTypes()
599 *ret_types = fbody->ret_types; in GetRetTypes()
658 for (const auto& t : fbody->ret_types) { in CreateKernel()
666 fbody->ret_types); in CreateKernel()
1055 new FunctionCallFrame(fbody->arg_types, fbody->ret_types); in RunRemote()
[all …]
Dfunction_body.cc28 ret_types(ret_t.begin(), ret_t.end()) { in FunctionBody()
31 this->ret_nodes.resize(ret_types.size()); in FunctionBody()
Dprocess_function_library_runtime.h119 DataTypeVector* ret_types);
302 DataTypeVector ret_types) in MultiDeviceFunctionData()
308 ret_types_(std::move(ret_types)), in MultiDeviceFunctionData()
Dfunction_def_utils.cc72 result.ret_types, graph.release()); in FunctionDefToBodyHelper()
Dinline_function_utils.cc353 if (num_node_outputs != fbody->ret_types.size() || in ValidateInlining()
357 num_node_outputs, " ret_types=", fbody->ret_types.size(), in ValidateInlining()
369 if (node->output_type(i) != fbody->ret_types[i]) { in ValidateInlining()
372 node->output_type(i), " != ", fbody->ret_types[i], " @ index=", i); in ValidateInlining()
Dprocess_function_library_runtime.cc158 FunctionLibraryRuntime::Handle h, DataTypeVector* ret_types) { in GetRetTypes() argument
164 *ret_types = miter->second->ret_types_; in GetRetTypes()
173 return flr->GetRetTypes(h, ret_types); in GetRetTypes()
723 std::vector<string>* ret_node_names, DataTypeVector* ret_types, in GetGraphAndArgRets() argument
745 for (const auto& ret_type : fbody->ret_types) { in GetGraphAndArgRets()
746 ret_types->push_back(ret_type); in GetGraphAndArgRets()
801 DataTypeVector ret_types; in InstantiateMultiDevice() local
806 &ret_node_names, &ret_types, &control_ret_node_names)); in InstantiateMultiDevice()
850 std::move(reachable_lib_def), std::move(ret_types)); in InstantiateMultiDevice()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dtest_util.cc36 result->ret_types = inst.ret_types; in InstantiateFunctionForTest()
Dfunctionalize_control_flow_test.cc191 EXPECT_EQ(DataTypeVector{DT_INT32}, result.ret_types); in CheckGraphDef()
214 EXPECT_EQ(DataTypeVector{DT_INT32}, result.ret_types); in CheckGraphDef()
421 EXPECT_EQ(DataTypeVector{DT_BOOL}, result.ret_types); in TEST()
443 EXPECT_EQ(DataTypeVector{DT_INT32}, result.ret_types); in TEST()
579 EXPECT_EQ(DataTypeVector{DT_INT32}, result.ret_types); in TEST()
688 EXPECT_EQ(DataTypeVector{DT_BOOL}, result.ret_types); in TEST()
710 EXPECT_EQ(DataTypeVector{DT_INT32}, result.ret_types); in TEST()
846 EXPECT_EQ(DataTypeVector{DT_BOOL}, result.ret_types); in TEST()
881 EXPECT_EQ((DataTypeVector{DT_INT32, DT_INT32}), result.ret_types); in TEST()
1200 EXPECT_EQ(DataTypeVector{DT_BOOL}, result.ret_types); in CheckOuterNodesFunctionalized()
[all …]
Dtest_util.h37 DataTypeVector ret_types; member
/external/tensorflow/tensorflow/core/data/
Dcaptured_function.cc255 explicit CallFrameBase(DataTypeSlice ret_types) in CallFrameBase() argument
256 : ret_types_(ret_types), retvals_(ret_types.size()) {} in CallFrameBase()
305 DataTypeSlice ret_types) in OwnedArgsCallFrame() argument
306 : CallFrameBase(ret_types), in OwnedArgsCallFrame()
349 DataTypeSlice ret_types) in BorrowedArgsCallFrame() argument
350 : CallFrameBase(ret_types), in BorrowedArgsCallFrame()
671 DataTypeVector ret_types; in Instantiate() local
672 TF_RETURN_IF_ERROR(lib->GetRetTypes(f_handle, &ret_types)); in Instantiate()
677 new InstantiatedCapturedFunction(lib, f_handle, std::move(ret_types), in Instantiate()
770 DataTypeVector ret_types, std::function<void(std::function<void()>)> runner, in InstantiatedCapturedFunction() argument
[all …]
/external/tensorflow/tensorflow/core/transforms/graph_to_func/
Dgraph_to_func.cc63 llvm::SmallVector<Type> ret_types; in GraphToFunc() local
68 for (Value fetch : fetches) ret_types.push_back(fetch.getType()); in GraphToFunc()
73 FunctionType func_type = builder.getFunctionType(arg_types, ret_types); in GraphToFunc()
/external/tensorflow/tensorflow/core/framework/
Dfunction_test.cc113 EXPECT_EQ(result.ret_types, DataTypeVector({DT_FLOAT})); in TEST()
156 EXPECT_EQ(result.ret_types, DataTypeVector({DT_FLOAT})); in TEST()
217 EXPECT_EQ(result.ret_types, DataTypeVector({DT_INT32})); in TEST()
259 EXPECT_EQ(result.ret_types, DataTypeVector({DT_INT32})); in TEST()
303 EXPECT_EQ(result.ret_types, DataTypeVector({DT_FLOAT})); in TEST()
339 EXPECT_EQ(result.ret_types, DataTypeVector({DT_FLOAT})); in TEST()
404 EXPECT_EQ(result.ret_types, DataTypeVector({DT_FLOAT})); in TEST()
449 EXPECT_EQ(result.ret_types, DataTypeVector({})); in TEST()
530 EXPECT_EQ(result.ret_types, DataTypeVector({DT_FLOAT})); in TEST()
598 EXPECT_EQ(result.ret_types, DataTypeVector({DT_FLOAT})); in TEST()
Dgraph_to_functiondef.h67 std::vector<string>* ret_node_names, DataTypeVector* ret_types,
Dfunction.h257 DataTypeVector ret_types; member
320 FunctionCallFrame(DataTypeSlice arg_types, DataTypeSlice ret_types);
817 virtual Status GetRetTypes(Handle h, DataTypeVector* ret_types) = 0;
/external/tensorflow/tensorflow/core/transforms/functional_to_region/
Dimpl.cc353 TypeRange ret_types = region_op.outs().getTypes(); in matchAndRewrite() local
354 this->ReplaceReturnWithYield(region_op.then_block(), ret_types, rewriter); in matchAndRewrite()
355 this->ReplaceReturnWithYield(region_op.else_block(), ret_types, rewriter); in matchAndRewrite()
417 TypeRange ret_types = region_op.outs().getTypes(); in matchAndRewrite() local
419 this->ReplaceReturnWithYield(branch.front(), ret_types, rewriter); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_kernel_creator.cc71 &fbody->fdef.signature(), node_def, fbody->arg_types, fbody->ret_types); in CreateXlaKernel()
Dcompilability_check_util.cc694 tensorflow::MemoryTypeVector output_memory_types(fbody->ret_types.size(), in GetOutputMemoryTypes()
696 for (size_t i = 0; i < fbody->ret_types.size(); ++i) { in GetOutputMemoryTypes()
697 if (fbody->ret_types[i] == tensorflow::DT_RESOURCE) { in GetOutputMemoryTypes()
/external/llvm/include/llvm/IR/
DIntrinsicsPowerPC.td65 class PowerPC_Vec_Intrinsic<string GCCIntSuffix, list<LLVMType> ret_types,
69 Intrinsic<ret_types, param_types, properties>;
72 class PowerPC_VSX_Intrinsic<string GCCIntSuffix, list<LLVMType> ret_types,
76 Intrinsic<ret_types, param_types, properties>;
757 class PowerPC_QPX_Intrinsic<string GCCIntSuffix, list<LLVMType> ret_types,
761 Intrinsic<ret_types, param_types, properties>;

12