Searched refs:axis_name (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/ |
D | ops.py | 83 for axis_name, value in selection.items(): 84 if axis_name not in labeled_tensor.axes: 87 (axis_name, labeled_tensor.axes.keys())) 88 axis = labeled_tensor.axes[axis_name] 92 (axis_name, axis)) 111 slices[axis_name] = slice(start, stop) 116 slices[axis_name] = axis.index(value) 124 indexers[axis_name] = ops.convert_to_tensor(indexer, dtype=dtypes.int64) 138 (axis_name, indexer), = indexers.items() 139 axis = core.Axis(axis_name, selection[axis_name]) [all …]
|
D | core.py | 256 def remove(self, axis_name): argument 258 if axis_name not in self: 259 raise KeyError(axis_name) 260 remaining_axes = [axis for axis in self.values() if axis.name != axis_name] 647 for axis_name in labeled_tensor.axes: 648 if axis_name not in selection: 652 slices.append(selection[axis_name]) 1019 for axis_name in axes_0: 1020 if axis_name in axes_1: 1021 if axes_0[axis_name] != axes_1[axis_name]: [all …]
|
D | ops_test.py | 227 unpack_lt = ops.unpack(self.original_lt, axis_name='z')[0] 236 ops.unpack(self.original_lt, axis_name='not_found')
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | resolve_tensorflow_concat.cc | 47 const string axis_name = tf_concat_op->inputs[axis_pos]; in Run() local 56 const auto& axis_array = model->GetArray(axis_name); in Run() 80 if (CountOpsWithInput(*model, axis_name) == 1) { in Run() 81 model->EraseArray(axis_name); in Run()
|
/external/fonttools/Lib/fontTools/varLib/ |
D | __init__.py | 656 axis_name = condition["name"] 658 minimum = normalize(axis_name, condition["minimum"]) 662 maximum = normalize(axis_name, condition["maximum"]) 665 tag = axis_tags[axis_name] 724 axis_name = axis.name 725 if not axis_name: 727 axis_name = axis.name = axis.tag 729 if axis_name in standard_axis_map: 731 axis.tag = standard_axis_map[axis_name][0] 733 axis.labelNames.update(standard_axis_map[axis_name][1]) [all …]
|
/external/tensorflow/tensorflow/contrib/factorization/python/ops/ |
D | wals.py | 230 def create_axis_ops(sp_input, num_items, update_fn, axis_name): argument 257 name="processed_" + axis_name) 269 name="update_processed_{}_indices".format(axis_name)) 277 name="{}_sweep_train_op".format(axis_name))
|
/external/jsoncpp/devtools/ |
D | batchbuild.py | 117 axis_name = axis["name"] 133 build_descs_by_axis[axis_name].extend( build_descs ) 140 for axis_name, axis_build_descs in list(build_descs_by_axis.items()):
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
D | touch_device.py | 181 def pixel_to_mm_single_axis_by_name(self, value_pixel, axis_name): argument 183 return self.pixel_to_mm_single_axis(value_pixel, self.axes[axis_name])
|