/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/ |
D | Server.java | 71 nativeHandle = allocate(serverDef); in Server() 76 start(nativeHandle); in start() 81 stop(nativeHandle); in stop() 88 handle = nativeHandle; in join() 112 delete(nativeHandle); in close() 113 nativeHandle = 0; in close() 118 private static native void start(long nativeHandle); in start() argument 120 private static native void stop(long nativeHandle); in stop() argument 122 private static native void join(long nativeHandle); in join() argument 124 private static native void delete(long nativeHandle); in delete() argument [all …]
|
D | Graph.java | 32 nativeHandle = allocate(); in Graph() 36 Graph(long nativeHandle) { in Graph() argument 37 this.nativeHandle = nativeHandle; in Graph() 49 if (nativeHandle == 0) { in close() 61 delete(nativeHandle); in close() 62 nativeHandle = 0; in close() 73 long oph = operation(nativeHandle, name); in operation() 131 importGraphDef(nativeHandle, graphDef, prefix); in importGraphDef() 143 return toGraphDef(nativeHandle); in toGraphDef() 204 ref.nativeHandle(), in addGradients() [all …]
|
D | Session.java | 69 nativeHandle = in Session() 70 (config == null) ? allocate(r.nativeHandle()) : allocate2(r.nativeHandle(), null, config); in Session() 78 Session(Graph g, long nativeHandle) { in Session() argument 80 this.nativeHandle = nativeHandle; in Session() 94 if (nativeHandle == 0) { in close() 106 delete(nativeHandle); in close() 107 nativeHandle = 0; in close() 327 nativeHandle, in runHelper() 361 if (nativeHandle == 0) { in Reference() 371 if (nativeHandle == 0) { in close() [all …]
|
D | EagerSession.java | 328 if (nativeHandle != 0L) { in close() 333 delete(nativeHandle); in close() 334 nativeHandle = 0L; in close() 347 long nativeHandle() { in nativeHandle() method in EagerSession 349 return nativeHandle; in nativeHandle() 508 private long nativeHandle; field in EagerSession 512 this.nativeHandle = allocate(options.async, options.devicePlacementPolicy.code, options.config); in EagerSession() 521 if (nativeHandle == 0L) { in checkSession()
|
D | Tensor.java | 143 long nativeHandle; in create() local 146 nativeHandle = allocate(t.dtype.c(), t.shapeCopy, byteSize); in create() 147 setValue(nativeHandle, obj); in create() 149 nativeHandle = allocateNonScalarBytes(t.shapeCopy, (Object[]) obj); in create() 151 nativeHandle = allocateScalarBytes((byte[]) obj); in create() 153 t.nativeRef = new NativeReference(nativeHandle); in create() 304 long nativeHandle = allocate(t.dtype.c(), t.shapeCopy, nbytes); in allocateForBuffer() local 305 t.nativeRef = new NativeReference(nativeHandle); in allocateForBuffer()
|
D | GraphOperation.java | 126 return shape(r.nativeHandle(), getUnsafeNativeHandle(), outputIdx); in shape() 136 return DataType.fromC(dtype(r.nativeHandle(), getUnsafeNativeHandle(), outputIdx)); in dtype()
|
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/ |
D | TensorImpl.java | 65 delete(nativeHandle); in close() 66 nativeHandle = 0; in close() 81 return numBytes(nativeHandle); in numBytes() 101 return index(nativeHandle); in index() 106 return name(nativeHandle); in name() 133 if (hasDelegateBufferHandle(nativeHandle)) { in setTo() 145 writeScalar(nativeHandle, src); in setTo() 147 writeMultiDimensionalArray(nativeHandle, src); in setTo() 149 writeScalar(nativeHandle, src); in setTo() 159 writeDirectBuffer(nativeHandle, src); in setTo() [all …]
|
/external/renderscript-intrinsics-replacement-toolkit/renderscript-toolkit/src/main/java/com/google/android/renderscript/ |
D | Toolkit.kt | 94 nativeBlend(nativeHandle, mode.value, sourceArray, destArray, sizeX, sizeY, restriction) in blend() 142 nativeBlendBitmap(nativeHandle, mode.value, sourceBitmap, destBitmap, restriction) in blend() 198 nativeHandle, inputArray, vectorSize, sizeX, sizeY, radius, outputArray, restriction in blur() 237 nativeBlurBitmap(nativeHandle, inputBitmap, outputBitmap, radius, restriction) in blur() 370 nativeHandle, inputArray, inputVectorSize, sizeX, sizeY, outputArray, outputVectorSize, in colorMatrix() 416 nativeHandle, in colorMatrix() 484 nativeHandle, in convolve() 533 nativeConvolveBitmap(nativeHandle, inputBitmap, outputBitmap, coefficients, restriction) in convolve() 584 nativeHandle, in histogram() 628 nativeHistogramBitmap(nativeHandle, inputBitmap, outputArray, restriction) in histogram() [all …]
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/core/ |
D | BaseTaskApi.java | 32 private final long nativeHandle; field in BaseTaskApi 42 protected BaseTaskApi(long nativeHandle) { in BaseTaskApi() argument 43 if (nativeHandle == TaskJniUtils.INVALID_POINTER) { in BaseTaskApi() 46 this.nativeHandle = nativeHandle; in BaseTaskApi() 59 deinit(nativeHandle); in close() 64 return nativeHandle; in getNativeHandle() 90 protected abstract void deinit(long nativeHandle); in deinit() argument
|
/external/tensorflow/tensorflow/tools/android/inference_interface/java/org/tensorflow/contrib/android/ |
D | RunStats.java | 29 nativeHandle = allocate(); in RunStats() 34 if (nativeHandle != 0) { in close() 35 delete(nativeHandle); in close() 37 nativeHandle = 0; in close() 42 add(nativeHandle, runMetadata); in add() 47 return summary(nativeHandle); in summary() 50 private long nativeHandle; field in RunStats
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/text/nlclassifier/ |
D | BertNLClassifier.java | 52 private BertNLClassifier(long nativeHandle) { in BertNLClassifier() argument 53 super(nativeHandle); in BertNLClassifier() 149 private static native List<Category> classifyNative(long nativeHandle, String text); 151 private static native String getModelVersionNative(long nativeHandle); 153 private static native String getLabelsVersionNative(long nativeHandle); 156 protected void deinit(long nativeHandle) { 157 deinitJni(nativeHandle); 165 private native void deinitJni(long nativeHandle);
|
D | NLClassifier.java | 136 protected NLClassifier(long nativeHandle) { in NLClassifier() argument 137 super(nativeHandle); in NLClassifier() 244 private static native List<Category> classifyNative(long nativeHandle, String text); 247 protected void deinit(long nativeHandle) { 248 deinitJni(nativeHandle); 256 private native void deinitJni(long nativeHandle);
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/text/qa/ |
D | BertQuestionAnswerer.java | 33 private BertQuestionAnswerer(long nativeHandle) { in BertQuestionAnswerer() argument 34 super(nativeHandle); in BertQuestionAnswerer() 182 long nativeHandle, String context, String question); 185 protected void deinit(long nativeHandle) { 186 deinitJni(nativeHandle); 194 private native void deinitJni(long nativeHandle);
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/vision/segmenter/ |
D | ImageSegmenter.java | 199 private ImageSegmenter(long nativeHandle, OutputType outputType) { 200 super(nativeHandle); 321 long nativeHandle = 336 return new ImageSegmenter(nativeHandle, options.getOutputType()); 357 long nativeHandle, 367 protected void deinit(long nativeHandle) { 368 deinitJni(nativeHandle); 376 private native void deinitJni(long nativeHandle);
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/vision/detector/ |
D | ObjectDetector.java | 222 private ObjectDetector(long nativeHandle) { 223 super(nativeHandle); 439 long nativeHandle, ByteBuffer image, int width, int height, int orientation); 442 protected void deinit(long nativeHandle) { 443 deinitJni(nativeHandle); 451 private native void deinitJni(long nativeHandle);
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/vision/classifier/ |
D | ImageClassifier.java | 206 private ImageClassifier(long nativeHandle) { 207 super(nativeHandle); 440 long nativeHandle, ByteBuffer image, int width, int height, int[] roi, int orientation); 443 protected void deinit(long nativeHandle) { 444 deinitJni(nativeHandle); 452 private native void deinitJni(long nativeHandle);
|
/external/minigbm/cros_gralloc/gralloc4/ |
D | CrosGralloc4Utils.cc | 93 const native_handle_t* nativeHandle = fenceHandle.getNativeHandle(); in convertToFenceFd() local 94 if (nativeHandle && nativeHandle->numFds > 1) { in convertToFenceFd() 98 *outFenceFd = (nativeHandle && nativeHandle->numFds == 1) ? nativeHandle->data[0] : -1; in convertToFenceFd()
|
/external/deqp/external/vulkancts/modules/vulkan/util/ |
D | vktExternalMemoryUtil.cpp | 554 NativeHandle& nativeHandle) in getMemoryNative() argument 571 nativeHandle = fd; in getMemoryNative() 586 nativeHandle.setZirconHandle(handle); in getMemoryNative() 606 nativeHandle.setWin32Handle(NativeHandle::WIN32HANDLETYPE_NT, handle); in getMemoryNative() 610 nativeHandle.setWin32Handle(NativeHandle::WIN32HANDLETYPE_KMT, handle); in getMemoryNative() 634 nativeHandle = ahb; in getMemoryNative() 685 NativeHandle& nativeHandle, in getFenceNative() argument 712 nativeHandle = fd; in getFenceNative() 732 nativeHandle.setWin32Handle(NativeHandle::WIN32HANDLETYPE_NT, handle); in getFenceNative() 736 nativeHandle.setWin32Handle(NativeHandle::WIN32HANDLETYPE_KMT, handle); in getFenceNative() [all …]
|
D | vktExternalMemoryUtil.hpp | 219 NativeHandle& nativeHandle); 239 NativeHandle& nativeHandle); 267 NativeHandle& nativeHandle,
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationCrossInstanceSharingTests.cpp | 731 NativeHandle& nativeHandle, in importAndBindMemory() argument 738 …catedMemory(vkd, device, buffer, requirements, externalType, exportedMemoryTypeIndex, nativeHandle) in importAndBindMemory() 739 … : importMemory(vkd, device, requirements, externalType, exportedMemoryTypeIndex, nativeHandle); in importAndBindMemory() 749 NativeHandle& nativeHandle, in importAndBindMemory() argument 756 …icatedMemory(vkd, device, image, requirements, externalType, exportedMemoryTypeIndex, nativeHandle) in importAndBindMemory() 757 … : importMemory(vkd, device, requirements, externalType, exportedMemoryTypeIndex, nativeHandle); in importAndBindMemory() 769 NativeHandle& nativeHandle, in importResource() argument 826 …de::MovePtr<vk::Allocation> allocation = importAndBindMemory(vkd, device, *image, nativeHandle, e… in importResource() 854 …de::MovePtr<vk::Allocation> allocation = importAndBindMemory(vkd, device, *buffer, nativeHandle, e… in importResource()
|
D | vktSynchronizationSignalOrderTests.cpp | 294 NativeHandle& nativeHandle, in importAndBindMemory() argument 302 …atedMemory(vkd, device, buffer, requirements, externalType, exportedMemoryTypeIndex, nativeHandle); in importAndBindMemory() 304 …ory = importMemory(vkd, device, requirements, externalType, exportedMemoryTypeIndex, nativeHandle); in importAndBindMemory() 314 NativeHandle& nativeHandle, in importAndBindMemory() argument 322 …catedMemory(vkd, device, image, requirements, externalType, exportedMemoryTypeIndex, nativeHandle); in importAndBindMemory() 324 …ory = importMemory(vkd, device, requirements, externalType, exportedMemoryTypeIndex, nativeHandle); in importAndBindMemory() 359 NativeHandle& nativeHandle, in importResource() argument 415 …MovePtr<Allocation> allocation = importAndBindMemory(vkd, device, *image, nativeHandle, externalT… in importResource() 446 nativeHandle, in importResource()
|
D | vktSynchronizationWin32KeyedMutexTests.cpp | 322 NativeHandle& nativeHandle, in importAndBindMemory() argument 346 …ortMemory(vkd, device, requirements.memoryRequirements, externalType, nativeHandle, !!dedicatedReq… in importAndBindMemory() 355 NativeHandle& nativeHandle, in importAndBindMemory() argument 379 …ortMemory(vkd, device, requirements.memoryRequirements, externalType, nativeHandle, !!dedicatedReq… in importAndBindMemory() 391 NativeHandle& nativeHandle, in importResource() argument 446 …cation> allocation = importAndBindMemory(vkd, device, *image, nativeHandle, externalType); in importResource() 474 …ation> allocation = importAndBindMemory(vkd, device, *buffer, nativeHandle, externalType); in importResource()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawAhbTests.cpp | 327 NativeHandle nativeHandle(ahb); in iterate() local 333 …ahbApi->describe(nativeHandle.getAndroidHardwareBuffer(), DE_NULL, DE_NULL, DE_NULL, &ahbFormat, D… in iterate() 343 …vk.getAndroidHardwareBufferPropertiesANDROID(device, nativeHandle.getAndroidHardwareBuffer(), &ahb… in iterate() 349 nativeHandle.getAndroidHardwareBuffer() // struct AHardwareBuffer* buffer in iterate()
|
/external/drm_hwcomposer/tests/test_include/ |
D | mali_gralloc_buffer.h | 73 struct native_handle nativeHandle;
|
/external/tensorflow/tensorflow/lite/g3doc/inference_with_metadata/task_library/ |
D | customized_task_api.md | 237 nativeHandle`, which is the pointer returned from C++. 246 long nativeHandle, // C++ pointer 268 private BertQuestionAnswerer(long nativeHandle) { 269 super(nativeHandle);
|