Home
last modified time | relevance | path

Searched refs:number_index (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/ops/composite/multitype_ops/
Dgetitem_impl.py77 def _tuple_getitem_by_number(data, number_index): argument
88 return F.tuple_getitem(data, number_index)
123 def _list_getitem_by_number(data, number_index): argument
134 return F.list_getitem(data, number_index)
153 def _tensor_getitem_by_number(data, number_index): argument
164 return compile_utils.tensor_index_by_number(data, number_index)
Dsetitem_impl.py27 def _list_setitem_with_string(data, number_index, value): argument
38 return F.list_setitem(data, number_index, value)
42 def _list_setitem_with_number(data, number_index, value): argument
54 return F.list_setitem(data, number_index, value)
58 def _list_setitem_with_tensor(data, number_index, value): argument
70 return F.list_setitem(data, number_index, value)
74 def _list_setitem_with_list(data, number_index, value): argument
86 return F.list_setitem(data, number_index, value)
90 def _list_setitem_with_tuple(data, number_index, value): argument
102 return F.list_setitem(data, number_index, value)
D_compile_utils.py293 def tensor_index_by_number(data, number_index): argument
295 if isinstance(number_index, bool):
296 return _tensor_index_by_bool(data, number_index)
297 if isinstance(number_index, int):
298 return _tensor_index_by_integer(data, number_index)
300 "Number index of tensor must be int or bool, but got {}.", number_index)
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-dataview-object.c251 ecma_number_t number_index; in ecma_op_dataview_get_set_view_value() local
252 ecma_value_t number_index_value = ecma_op_to_integer (request_index, &number_index); in ecma_op_dataview_get_set_view_value()
259 int32_t get_index = ecma_number_to_int32 (number_index); in ecma_op_dataview_get_set_view_value()
262 if (number_index != get_index || get_index < 0) in ecma_op_dataview_get_set_view_value()