Home
last modified time | relevance | path

Searched defs:ndarray (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/optimize/debugging/python/
Ddebugger.py65 Callable[[np.ndarray],
68 str, Callable[[Sequence[np.ndarray], Sequence[np.ndarray]],
138 Iterable[Sequence[np.ndarray]]]] = None,
425 tensor_data: Sequence[np.ndarray],
/external/tensorflow/tensorflow/python/tpu/
Ddevice_assignment.py70 def __init__(self, topology: Topology, core_assignment: np.ndarray):
180 computation_shape: Optional[np.ndarray] = None,
181 computation_stride: Optional[np.ndarray] = None,
339 computation_shape: Optional[np.ndarray] = None,
340 computation_stride: Optional[np.ndarray] = None,
/external/armnn/python/pyarmnn/examples/common/
Dcv_utils.py17 def preprocess(frame: np.ndarray, input_binding_info: tuple):
43 def resize_with_aspect_ratio(frame: np.ndarray, input_binding_info: tuple):
141 def draw_bounding_boxes(frame: np.ndarray, detections: list, resize_factor, labels: dict):
/external/armnn/python/pyarmnn/src/pyarmnn/_tensor/
Dconst_tensor.py111 def __check_size(data: np.ndarray, num_bytes: int, num_elements: int):
134 …ef __create_memory_area(self, data_type: int, num_bytes: int, num_elements: int, data: np.ndarray):
Dworkload_tensors.py17 input_data: List[np.ndarray]) -> List[Tuple[int, ConstTensor]]:
/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_arrays.py54 ndarray = ops.Tensor variable
/external/armnn/python/pyarmnn/examples/object_detection/
Dssd.py12 def ssd_processing(output: np.ndarray, confidence_threshold=0.60):
Dyolo.py47 def yolo_processing(output: np.ndarray, confidence_threshold=0.40, iou_threshold=0.40):
/external/tensorflow/tensorflow/compiler/xla/python_api/
Dxla_literal.py64 def _ConvertNumpyArrayToLiteral(ndarray): argument
Dxla_shape.py103 def _CreateShapeFromNumpy(ndarray): # pylint: disable=invalid-name argument
/external/tensorflow/tensorflow/python/compiler/tensorrt/model_tests/
Dmodel_handler.py176 output_tensors: Sequence[np.ndarray],
299 inputs: Optional[Mapping[str, np.ndarray]] = None,
424 calibration_inputs: Optional[Mapping[str, np.ndarray]] = None,
471 calibration_inputs: Optional[Mapping[str, np.ndarray]] = None,
492 inputs: Optional[Mapping[str, np.ndarray]] = None,
/external/armnn/python/pyarmnn/examples/speech_recognition/
Daudio_utils.py10 def decode(model_output: np.ndarray, labels: dict) -> str:
/external/tensorflow/tensorflow/java/src/main/native/
Dtensor_jni.cc190 jobjectArray ndarray = static_cast<jobjectArray>(src); in writeNDArray() local
209 jobjectArray ndarray = static_cast<jobjectArray>(dst); in readNDArray() local
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dtensor_jni.cc261 jobjectArray ndarray = static_cast<jobjectArray>(dst); in ReadMultiDimensionalArray() local
316 jobjectArray ndarray = static_cast<jobjectArray>(src); in WriteMultiDimensionalArray() local
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc480 Status NdarrayToTensor(TFE_Context* ctx, PyObject* ndarray, in NdarrayToTensor()
/external/python/cpython3/Lib/test/
Dtest_buffer.py30 ndarray = None variable