/external/tensorflow/tensorflow/compiler/jit/ |
xla_gpu_device.cc | 16 // Registers the XLA_GPU device, which is an XlaDevice instantiation that runs 31 std::vector<Device*>* devices) override; 36 std::vector<Device*>* devices) { 41 std::unique_ptr<XlaDevice> device; local 44 /*register_device_for_compilation=*/true, &device); 47 VLOG(1) << "Failed to create XLA_GPU device: " << status; 50 devices->push_back(device.release());
|
xla_interpreter_device.cc | 16 // Registers the XLA_INTERPRETER device which exposes the XLA Interpreter. 34 std::vector<Device*>* devices) override; 39 std::vector<Device*>* devices) { 44 std::unique_ptr<XlaDevice> device; local 47 options, name_prefix, /*register_device_for_compilation=*/true, &device)); 48 devices->push_back(device.release()); 53 // not selected as a high priority device over other default devices. See
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/gan/ |
mnist_test.py | 39 def device(): function 66 with tf.device(device()): 93 with tf.device(device()):
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/linear_regression/ |
linear_regression_test.py | 33 def device(): function 34 return "/device:GPU:0" if tfe.num_gpus() > 0 else "/device:CPU:0" 74 with tf.device(device()): 99 with tf.device(device()):
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/mnist/ |
mnist_test.py | 26 def device(): function 27 return "/device:GPU:0" if tfe.num_gpus() else "/device:CPU:0" 48 with tf.device(device()): 58 with tf.device(device()):
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
utils.cc | 39 DeviceProperties device; local 40 device.set_type("CPU"); 42 device.set_vendor(port::CPUVendorIDString()); 44 device.set_model( 46 device.set_frequency(port::NominalCPUFrequency() * 1e-6); 47 device.set_num_cores(port::NumSchedulableCPUs()); 48 device.set_l1_cache_size(Eigen::l1CacheSize()); 49 device.set_l2_cache_size(Eigen::l2CacheSize()); 50 device.set_l3_cache_size(Eigen::l3CacheSize()); 54 device.set_memory_size(free_mem) 70 DeviceProperties device; local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
snapshot_op.h | 30 template <typename Device, typename Scalar> 44 const Device& device = context->eigen_device<Device>(); variable 45 device.memcpy(output->template flat<Scalar>().data(),
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
screen_capture_utils.cc | 23 DISPLAY_DEVICE device; local 24 device.cb = sizeof(device); 25 enum_result = EnumDisplayDevices(NULL, device_index, &device, 0); 32 if (!(device.StateFlags & DISPLAY_DEVICE_ACTIVE)) 48 DISPLAY_DEVICE device; local 49 device.cb = sizeof(device); 50 BOOL enum_result = EnumDisplayDevices(NULL, screen, &device, 0); 52 *device_key = device.DeviceKey 65 DISPLAY_DEVICE device; local [all...] |
/frameworks/base/core/java/android/app/backup/ |
RestoreSet.java | 38 * Identifier of the device whose data this is. This will be as unique as 41 public String device; field in class:RestoreSet 57 device = _dev; 68 out.writeString(device); 85 device = in.readString();
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
UsbIntentReceiver.java | 31 final UsbDevice device = intent.getExtras().getParcelable(UsbManager.EXTRA_DEVICE); local 38 MtpDocumentsProvider.getInstance().closeDevice(device.getDeviceId()); 40 Log.e(MtpDocumentsProvider.TAG, "Failed to close device", e);
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
Utils.java | 44 UiDevice device = UiDevice.getInstance(instrumentation); local 45 UiObject2 window = device.wait(Until.findObject(selector), WAIT_FOR_ACTIVITY_TIMEOUT); 75 UiDevice device = UiDevice.getInstance(instrumentation); local 76 switch (device.getDisplayRotation()) { 88 throw new RuntimeException("Unsupported device rotation."); 93 UiDevice device = UiDevice.getInstance(instrumentation); local 97 device.setOrientationNatural(); 100 device.setOrientationLeft(); 103 device.setOrientationRight();
|
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
AbstractThreadedDeviceSpecificAction.java | 26 protected IDevice device; field in class:AbstractThreadedDeviceSpecificAction 28 protected AbstractThreadedDeviceSpecificAction(String title, IDevice device) { 30 this.device = device; 34 public void setDevice(IDevice device) { 35 this.device = device; 40 if (device == null) {
|
/hardware/interfaces/audio/core/all-versions/default/include/core/all-versions/default/ |
Device.h | 64 struct Device : public IDevice, public ParametersUtil { 65 explicit Device(audio_hw_device_t* device); 79 Return<void> openInputStream(int32_t ioHandle, const DeviceAddress& device, 83 Return<void> openOutputStream(int32_t ioHandle, const DeviceAddress& device, 87 Return<void> openOutputStream(int32_t ioHandle, const DeviceAddress& device, 91 Return<void> openInputStream(int32_t ioHandle, const DeviceAddress& device, 130 audio_hw_device_t* device() const { return mDevice; } function in struct:android::hardware::audio::AUDIO_HAL_VERSION::implementation::Device 135 virtual ~Device();
|
/hardware/interfaces/camera/device/3.2/default/include/ |
convert.h | 25 #include <android/hardware/camera/device/3.2/types.h> 31 namespace device { namespace in namespace:android::hardware::camera 61 } // namespace device
|
/hardware/interfaces/camera/device/3.3/default/ |
CameraDeviceSession.h | 20 #include <android/hardware/camera/device/3.2/ICameraDevice.h> 21 #include <android/hardware/camera/device/3.3/ICameraDeviceSession.h> 39 namespace device { namespace in namespace:android::hardware::camera 43 using namespace ::android::hardware::camera::device; 44 using ::android::hardware::camera::device::V3_2::CaptureRequest; 45 using ::android::hardware::camera::device::V3_2::StreamConfiguration; 46 using ::android::hardware::camera::device::V3_3::HalStreamConfiguration; 47 using ::android::hardware::camera::device::V3_3::ICameraDeviceSession; 133 } // namespace device
|
CameraDevice_3_3.h | 26 #include <android/hardware/camera/device/3.2/ICameraDevice.h> 33 namespace device { namespace in namespace:android::hardware::camera 37 using namespace ::android::hardware::camera::device; 46 * The camera device HAL implementation is opened lazily (via the open call) 70 } // namespace device
|
convert.cpp | 17 #define LOG_TAG "android.hardware.camera.device@3.3-convert-impl" 25 namespace device { namespace in namespace:android::hardware::camera 31 using ::android::hardware::camera::device::V3_2::BufferUsageFlags; 62 } // namespace device
|
/hardware/interfaces/camera/device/3.4/default/ |
convert.cpp | 17 #define LOG_TAG "android.hardware.camera.device@3.4-convert-impl" 26 namespace device { namespace in namespace:android::hardware::camera 32 using ::android::hardware::camera::device::V3_2::BufferUsageFlags; 56 } // namespace device
|
/hardware/interfaces/camera/device/3.4/default/include/device_v3_4_impl/ |
CameraDevice_3_4.h | 26 #include <android/hardware/camera/device/3.2/ICameraDevice.h> 33 namespace device { namespace in namespace:android::hardware::camera 37 using namespace ::android::hardware::camera::device; 46 * The camera device HAL implementation is opened lazily (via the open call) 70 } // namespace device
|
/hardware/interfaces/gatekeeper/1.0/default/ |
Gatekeeper.h | 60 gatekeeper_device_t *device; member in class:android::hardware::gatekeeper::V1_0::implementation::Gatekeeper
|
/hardware/interfaces/renderscript/1.0/vts/functional/ |
VtsHalRenderscriptV1_0TargetTest.h | 100 sp<IDevice> device; member in class:RenderscriptHidlTest
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
sensors.h | 39 struct sensors_poll_device_1 device; member in class:SensorContext
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
amix.c | 57 const char* device = "/dev/snd/controlC0"; local 59 mixer = mixer_open(device);
|
/hardware/qcom/audio/post_proc/ |
bass_boost.h | 32 uint32_t device; member in struct:bassboost_context_s 42 int bassboost_set_device(effect_context_t *context, uint32_t device);
|
virtualizer.h | 32 uint32_t device; member in struct:virtualizer_context_s 42 int virtualizer_set_device(effect_context_t *context, uint32_t device);
|