/external/tensorflow/tensorflow/python/framework/ |
D | importer.py | 116 def _ProcessInputMapParam(input_map): argument 118 if input_map is None: 119 input_map = {} 121 if not (isinstance(input_map, dict) and all( 122 isinstance(k, compat.bytes_or_text_types) for k in input_map.keys())): 125 return input_map 178 def _ConvertInputMapValues(name, input_map): argument 193 if not all(isinstance(v, ops.Tensor) for v in input_map.values()): 200 input_map = {k: ops.convert_to_tensor(v) for k, v in input_map.items()} 201 return input_map [all …]
|
D | importer_test.py | 254 input_map={"A:0": feed_a_0, 281 input_map={b"A:0": feed_a_0, 308 input_map={u"A:0": feed_a_0, 336 input_map={"A": feed_a_0}, 536 input_map={"A:0": feed_a_0}, 625 input_map={"B:0": constant_op.constant(5.0)}) 634 input_map={"A:0": constant_op.constant(5.0)}) 644 input_map={"A:2": constant_op.constant(5.0)}) 656 input_map={"A:0": constant_op.constant(5.0)}) 895 self._MakeGraphDef(""), input_map=[constant_op.constant(5.0)]) [all …]
|
D | meta_graph.py | 652 input_map=None, argument 697 meta_graph_or_file, clear_devices, graph, import_scope, input_map, 706 input_map=None, argument 771 not input_map or 773 sorted(input_map)): 778 if not input_map or v not in input_map)) 802 input_map=input_map,
|
D | meta_graph_test.py | 443 input_map={"image:0": new_image}, 450 input_map={"$unbound_inputs_images": new_image}, 464 input_map={"$unbound_inputs_hidden1/Relu": hidden1}, 480 input_map={"$unbound_inputs_hidden2/Relu": hidden2}, 862 input_map={
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_link.c | 49 for (i = 0; i < ARRAY_SIZE(linkage->input_map); i++) { in svga_link_shaders() 50 linkage->input_map[i] = INVALID_INDEX; in svga_link_shaders() 79 linkage->input_map[i] = j; in svga_link_shaders() 92 linkage->input_map[i] = out_index; in svga_link_shaders() 95 free_slot = MAX2(free_slot, linkage->input_map[i] + 1); in svga_link_shaders() 113 if (linkage->input_map[i] == INVALID_INDEX) { in svga_link_shaders() 115 linkage->input_map[i] = j; in svga_link_shaders() 133 assert(linkage->input_map[i] != INVALID_INDEX); in svga_link_shaders() 137 linkage->input_map[i], in svga_link_shaders() 143 assert((reg & (one << linkage->input_map[i])) == 0); in svga_link_shaders() [all …]
|
D | svga_tgsi_decl_sm30.c | 201 emit->input_map[idx] = src_register(SVGA3DREG_TEMP, in ps30_input() 214 emit->input_map[idx] = emit->ps_true_pos; in ps30_input() 226 emit->input_map[idx] = in ps30_input() 231 reg = dst(emit->input_map[idx]); in ps30_input() 264 if (!ps30_input_emit_depth_fog(emit, &emit->input_map[idx])) in ps30_input() 267 emit->input_map[idx].base.swizzle = TRANSLATE_SWIZZLE(TGSI_SWIZZLE_X, in ps30_input() 281 emit->input_map[idx] = in ps30_input() 284 reg = dst(emit->input_map[idx]); in ps30_input() 302 emit->ps_true_texcoord[unit] = emit->input_map[idx]; in ps30_input() 312 emit->input_map[idx] = emit->ps_inverted_texcoord[unit]; in ps30_input() [all …]
|
D | svga_link.h | 14 ubyte input_map[PIPE_MAX_SHADER_INPUTS]; member
|
D | svga_tgsi_insn.c | 204 src = emit->input_map[reg->Register.Index]; in translate_src_register() 3239 front[i] = emit->input_map[emit->internal_color_idx[i]]; in emit_light_twoside() 3248 emit->input_map[emit->internal_color_idx[i]] = src(color[i]); in emit_light_twoside() 3319 emit->input_map[emit->internal_frontface_idx] = src(temp); in emit_frontface() 3345 < ARRAY_SIZE(emit->input_map)); in emit_inverted_texcoords() 3357 emit->input_map[emit->ps_inverted_texcoord_input[unit]] = in emit_inverted_texcoords() 3409 emit->input_map[index], in emit_adjusted_vertex_attribs() 3417 emit->input_map[index], /* vert attrib */ in emit_adjusted_vertex_attribs() 3435 emit->input_map[index])) in emit_adjusted_vertex_attribs() 3449 emit->input_map[index] = tmp; in emit_adjusted_vertex_attribs()
|
D | svga_tgsi_emit.h | 107 struct src_register input_map[PIPE_MAX_ATTRIBS]; member
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | graph_constructor_test.cc | 1184 opts.input_map[TensorId("new_input", 0)] = TensorId("input", 1); in TEST_F() 1185 opts.input_map[TensorId("new_input", 1)] = TensorId("input", 0); in TEST_F() 1226 opts.input_map[TensorId("input", 0)] = TensorId("input", 0); in TEST_F() 1227 opts.input_map[TensorId("input", 1)] = TensorId("input", 0); in TEST_F() 1288 opts.input_map[TensorId("W2", kControlSlot)] = TensorId("W1", kControlSlot); in TEST_F() 1289 opts.input_map[TensorId("W3", kControlSlot)] = TensorId("W1", kControlSlot); in TEST_F() 1324 opts.input_map.clear(); in TEST_F() 1325 opts.input_map[TensorId("W1", kControlSlot)] = TensorId("W1", kControlSlot); in TEST_F() 1352 opts.input_map[TensorId("W2", Graph::kControlSlot)] = TensorId("W1", 0); in TEST_F() 1362 opts.input_map.clear(); in TEST_F() [all …]
|
D | graph_constructor.cc | 109 input_map(in.input_map.begin(), in.input_map.end()), in Options() 126 std::map<TensorId, TensorId> input_map; member 552 bool NodeNameInValues(const std::map<TensorId, TensorId>& input_map, in NodeNameInValues() argument 554 for (auto iter = input_map.begin(); iter != input_map.end(); ++iter) { in NodeNameInValues() 582 if (NodeNameInValues(opts_.input_map, n->name())) { in EnsureNoNameCollisions() 619 for (const auto& mapping : opts_.input_map) { in ValidateInputMapAndControlDependencies() 732 if (opts_.input_map.count(id) == 0) { in InitFromEdges() 874 auto iter = opts_.input_map.find(ParseTensorName(node_def->input(i))); in RemapNodeDefInputs() 875 if (iter == opts_.input_map.end()) continue; in RemapNodeDefInputs() 1053 if (opts_.input_map.find({node_def.name(), i}) == opts_.input_map.end()) { in IsNodeFullyMapped() [all …]
|
D | graph_constructor.h | 103 std::map<SafeTensorId, SafeTensorId> input_map; member
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
D | map_vectorization.cc | 165 Status CopyInputs(StringPiece input_name, const NameRangeMap& input_map, in CopyInputs() argument 167 const auto* range = gtl::FindOrNull(input_map, input_name); in CopyInputs() 180 Status GetInputNodeName(StringPiece input_name, const NameRangeMap& input_map, in GetInputNodeName() argument 182 const auto* range = gtl::FindOrNull(input_map, input_name); in GetInputNodeName() 206 NameRangeMap input_map; in AddNewBatchNode() local 207 TF_RETURN_IF_ERROR(GetInputMap(old_batch_node, &input_map)); in AddNewBatchNode() 211 CopyInputs("batch_size", input_map, old_batch_node, &batch_node)); in AddNewBatchNode() 216 CopyInputs("drop_remainder", input_map, old_batch_node, &batch_node)); in AddNewBatchNode() 271 NameRangeMap input_map; in AddNewMapNode() local 272 TF_RETURN_IF_ERROR(GetInputMap(old_map_node, &input_map)); in AddNewMapNode() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | tensor_utils.h | 169 VectorMap input_map(const_cast<float* __restrict__>(vector), v_size); in ApplyTanhToVector() 171 output_map.array() = input_map.array().tanh(); in ApplyTanhToVector() 186 VectorMap input_map(const_cast<float* __restrict__>(vector), v_size); in ApplySigmoidToVector() 188 output_map.array() = input_map.array().logistic(); in ApplySigmoidToVector()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_io_to_temporaries.c | 46 struct hash_table *input_map; member 235 struct hash_entry *entry = _mesa_hash_table_search(state->input_map, in fixup_interpolation_instr() 336 state.input_map = _mesa_pointer_hash_table_create(NULL); in nir_lower_io_to_temporaries() 361 _mesa_hash_table_insert(state.input_map, var, input); in nir_lower_io_to_temporaries() 385 _mesa_hash_table_destroy(state.input_map, NULL); in nir_lower_io_to_temporaries()
|
/external/tensorflow/tensorflow/python/tools/ |
D | optimize_for_inference_test.py | 167 optimized_graph_def, input_map={}, name="optimized") 227 optimized_graph_def, input_map={}, name="optimized") 287 optimized_graph_def, input_map={}, name="optimized") 318 optimized_graph_def, input_map={}, name="optimized") 348 optimized_graph_def, input_map={}, name="optimized") 378 optimized_graph_def, input_map={}, name="optimized")
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.graph_util.pbtxt | 5 …argspec: "args=[\'graph_def\', \'input_map\', \'return_elements\', \'name\', \'op_dict\', \'produc…
|
/external/mesa3d/src/gallium/frontends/nine/ |
D | vertexshader9.c | 117 for (i = 0; i < info.num_inputs && i < ARRAY_SIZE(This->input_map); ++i) in NineVertexShader9_ctor() 118 This->input_map[i].ndecl = info.input_map[i]; in NineVertexShader9_ctor()
|
D | vertexshader9.h | 43 } input_map[PIPE_MAX_ATTRIBS]; member
|
D | nine_shader.h | 57 uint16_t input_map[PIPE_MAX_ATTRIBS]; /* VS input -> NINE_DECLUSAGE_x */ member
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.graph_util.pbtxt | 13 …argspec: "args=[\'graph_def\', \'input_map\', \'return_elements\', \'name\', \'op_dict\', \'produc…
|
/external/tensorflow/tensorflow/core/kernels/ |
D | map_kernels.h | 43 const TensorMap& input_map, in ForwardInputOrCreateNewMap() argument 73 output_tensor->scalar<Variant>()() = input_map.Copy(); in ForwardInputOrCreateNewMap()
|
/external/tensorflow/tensorflow/core/kernels/linalg/ |
D | einsum_op_impl.h | 407 auto input_map = input.shaped<T, N>(strided_shape); \ in StrideOrInflate() 409 device, input_map, TensorShape(strides).AsEigenDSizes<N>(), \ in StrideOrInflate() 412 auto input_map = input.shaped<T, N>(reshape); \ in StrideOrInflate() 415 device, input_map, TensorShape(strides).AsEigenDSizes<N>(), \ in StrideOrInflate()
|
/external/tensorflow/tensorflow/core/kernels/hexagon/ |
D | graph_transferer.cc | 242 std::unordered_map<int, GraphTransferNodeInputInfo*> input_map; in SortParams() local 245 input_map.emplace(input.node_id(), &input); in SortParams() 265 CHECK_EQ(input_map.count(node_id), 1); in SortParams() 267 input_map.at(node_id)->node_input()) { in SortParams()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-layout-gsubgpos.hh | 2020 const hb_map_t *input_map = nullptr, in copy() 2032 if (input_map) mapping = input_map; in copy() 2049 const hb_map_t *input_map = nullptr, in subset() 2070 !hb_all (input, input_map) || in subset() 2074 copy (c->serializer, backtrack_map, input_map, lookahead_map); in subset()
|