HomeSort by relevance Sort by last modified time
    Searched refs:tfe (Results 1 - 25 of 35) sorted by null

1 2

  /external/tensorflow/tensorflow/contrib/eager/python/examples/mnist/
mnist_test.py 22 import tensorflow.contrib.eager as tfe
27 return "/device:GPU:0" if tfe.num_gpus() else "/device:CPU:0"
31 return "channels_first" if tfe.num_gpus() else "channels_last"
45 model.call = tfe.defun(model.call)
57 model.call = tfe.defun(model.call)
79 tfe.enable_eager_execution()
mnist.py 32 import tensorflow.contrib.eager as tfe
124 for (batch, (images, labels)) in enumerate(tfe.Iterator(dataset)):
126 with tfe.GradientTape() as tape:
140 avg_loss = tfe.metrics.Mean('loss')
141 accuracy = tfe.metrics.Accuracy('accuracy')
143 for (images, labels) in tfe.Iterator(dataset):
165 tfe.enable_eager_execution()
168 if FLAGS.no_gpu or tfe.num_gpus() <= 0:
195 with tfe.restore_variables_on_create(
210 tfe.Saver(all_variables).save
    [all...]
  /external/llvm/test/MC/AMDGPU/
mubuf.s 37 buffer_load_dword v1, off, s[4:7], s1 offset:4 tfe
38 // SICI: buffer_load_dword v1, off, s[4:7], s1 offset:4 tfe ; encoding: [0x04,0x00,0x30,0xe0,0x00,0x01,0x81,0x01]
39 // VI: buffer_load_dword v1, off, s[4:7], s1 offset:4 tfe ; encoding: [0x04,0x00,0x50,0xe0,0x00,0x01,0x81,0x01]
41 buffer_load_dword v1, off, s[4:7], s1 glc tfe
42 // SICI: buffer_load_dword v1, off, s[4:7], s1 glc tfe ; encoding: [0x00,0x40,0x30,0xe0,0x00,0x01,0x81,0x01]
43 // VI: buffer_load_dword v1, off, s[4:7], s1 glc tfe ; encoding: [0x00,0x40,0x50,0xe0,0x00,0x01,0x81,0x01]
45 buffer_load_dword v1, off, s[4:7], s1 offset:4 glc slc tfe
46 // SICI: buffer_load_dword v1, off, s[4:7], s1 offset:4 glc slc tfe ; encoding: [0x04,0x40,0x30,0xe0,0x00,0x01,0xc1,0x01]
47 // VI: buffer_load_dword v1, off, s[4:7], s1 offset:4 glc slc tfe ; encoding: [0x04,0x40,0x52,0xe0,0x00,0x01,0x81,0x01]
49 buffer_load_dword v1, off, ttmp[4:7], s1 offset:4 glc slc tfe
    [all...]
flat.s 33 flat_load_dword v1, v[3:4] glc tfe
35 // CI: flat_load_dword v1, v[3:4] glc tfe ; encoding: [0x00,0x00,0x31,0xdc,0x03,0x00,0x80,0x01]
36 // VI: flat_load_dword v1, v[3:4] glc tfe ; encoding: [0x00,0x00,0x51,0xdc,0x03,0x00,0x80,0x01]
38 flat_load_dword v1, v[3:4] glc slc tfe
40 // CI: flat_load_dword v1, v[3:4] glc slc tfe ; encoding: [0x00,0x00,0x33,0xdc,0x03,0x00,0x80,0x01]
41 // VI: flat_load_dword v1, v[3:4] glc slc tfe ; encoding: [0x00,0x00,0x53,0xdc,0x03,0x00,0x80,0x01]
48 flat_load_dword v1, v[3:4] slc tfe
50 // CI: flat_load_dword v1, v[3:4] slc tfe ; encoding: [0x00,0x00,0x32,0xdc,0x03,0x00,0x80,0x01]
51 // VI: flat_load_dword v1, v[3:4] slc tfe ; encoding: [0x00,0x00,0x52,0xdc,0x03,0x00,0x80,0x01]
53 flat_load_dword v1, v[3:4] tfe
    [all...]
  /external/tensorflow/tensorflow/contrib/eager/python/
tfe_test.py 22 from tensorflow.contrib.eager.python import tfe
58 grad = tfe.gradients_function(square)
66 grad = tfe.gradients_function(square)
67 gradgrad = tfe.gradients_function(lambda x: grad(x)[0])
72 @tfe.custom_gradient
81 grad = tfe.gradients_function(f)
85 if tfe.num_gpus() <= 0:
103 self.assertTrue(tfe.list_devices())
135 tfe.enable_eager_execution()
  /external/tensorflow/tensorflow/contrib/eager/python/examples/rnn_ptb/
rnn_ptb_test.py 27 from tensorflow.contrib.eager.python import tfe
32 return "/device:GPU:0" if tfe.num_gpus() else "/device:CPU:0"
38 model = rnn_ptb.test_model(tfe.num_gpus() > 0)
48 model = rnn_ptb.test_model(tfe.num_gpus() > 0)
54 if tfe.num_gpus():
98 if not tfe.num_gpus():
103 if not tfe.num_gpus():
114 grads = tfe.implicit_gradients(model_loss)
142 if not tfe.num_gpus():
147 if not tfe.num_gpus()
    [all...]
rnn_ptb.py 39 from tensorflow.contrib.eager.python import tfe
42 class RNN(tfe.Network):
90 class PTBModel(tfe.Network):
194 grads = tfe.implicit_gradients(model_loss)
293 tfe.enable_eager_execution()
301 have_gpu = tfe.num_gpus() > 0
304 with tfe.restore_variables_on_create(
309 learning_rate = tfe.Variable(20.0, name="learning_rate")
322 tfe.Saver(model.trainable_weights + [learning_rate]).save(
  /external/tensorflow/tensorflow/contrib/eager/python/examples/linear_regression/
linear_regression.py 33 import tensorflow.contrib.eager as tfe
36 class LinearModel(tfe.Network):
84 loss_and_grads = tfe.implicit_value_and_gradients(mse)
93 for i, (xs, ys) in enumerate(tfe.Iterator(dataset)):
130 tfe.enable_eager_execution()
146 device = "gpu:0" if tfe.num_gpus() else "cpu:0"
linear_regression_test.py 29 import tensorflow.contrib.eager as tfe
34 return "/device:GPU:0" if tfe.num_gpus() > 0 else "/device:CPU:0"
56 it = tfe.Iterator(dataset)
113 ("gpu" if tfe.num_gpus() > 0 else "cpu"),
120 tfe.enable_eager_execution()
  /external/tensorflow/tensorflow/contrib/eager/python/examples/rnn_colorbot/
rnn_colorbot_test.py 22 from tensorflow.contrib.eager.python import tfe
30 return "/device:GPU:0" if tfe.num_gpus() else "/device:CPU:0"
70 tfe.enable_eager_execution()
rnn_colorbot.py 67 from tensorflow.contrib.eager.python import tfe
112 class RNNColorbot(tfe.Network):
192 avg_loss = tfe.metrics.Mean("loss")
193 for (labels, chars, sequence_length) in tfe.Iterator(eval_data):
213 tfe.Iterator(train_data)):
240 if FLAGS.no_gpu or tfe.num_gpus() <= 0:
241 print(tfe.num_gpus())
337 tfe.run(main=main, argv=[sys.argv[0]] + unparsed)
  /external/tensorflow/tensorflow/contrib/eager/python/examples/gan/
mnist.py 32 import tensorflow.contrib.eager as tfe
38 class Discriminator(tfe.Network):
98 class Generator(tfe.Network):
219 for (batch_index, images) in enumerate(tfe.Iterator(dataset)):
228 with tfe.GradientTape(persistent=True) as g:
263 if FLAGS.no_gpu or tfe.num_gpus() <= 0:
292 with tfe.restore_variables_on_create(latest_cpkt):
309 tfe.Saver(all_variables).save(
314 tfe.enable_eager_execution()
mnist_test.py 25 import tensorflow.contrib.eager as tfe
40 return '/gpu:0' if tfe.num_gpus() else '/cpu:0'
47 dev = 'gpu' if tfe.num_gpus() else 'cpu'
112 tfe.enable_eager_execution()
  /external/tensorflow/tensorflow/contrib/eager/python/examples/resnet50/
resnet50_test.py 28 import tensorflow.contrib.eager as tfe
35 return ('/gpu:0', 'channels_first') if tfe.num_gpus() else ('/cpu:0',
56 with tfe.GradientTape() as tape:
71 model.call = tfe.defun(model.call)
190 model.call = tfe.defun(model.call)
218 model.call = tfe.defun(model.call)
248 return tfe.Iterator(ds)
258 return tfe.Iterator(ds)
265 tfe.enable_eager_execution()
resnet50.py 30 import tensorflow.contrib.eager as tfe
33 class _IdentityBlock(tfe.Network):
95 class _ConvBlock(tfe.Network):
179 class ResNet50(tfe.Network):
  /external/apache-xml/src/main/java/org/apache/xalan/processor/
ProcessorStylesheetElement.java 76 catch(TransformerConfigurationException tfe)
78 throw new TransformerException(tfe);
ProcessorLRE.java 95 catch(TransformerConfigurationException tfe)
97 throw new TransformerException(tfe);
  /device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/I2CLib/
I2CHw.h 223 UINT32 tfe : 1 ; member in struct:tagI2c0Status::__anon3804
  /external/tensorflow/tensorflow/contrib/eager/python/examples/spinn/
spinn_test.py 33 import tensorflow.contrib.eager as tfe
61 if tfe.num_gpus():
123 self._test_device = "gpu:0" if tfe.num_gpus() else "cpu:0"
435 test_device = "gpu:0" if tfe.num_gpus() else "cpu:0"
  /external/tensorflow/tensorflow/contrib/
__init__.py 85 from tensorflow.contrib.eager.python import tfe as eager
  /external/libvpx/libvpx/vp8/common/x86/
loopfilter_block_sse2_x86_64.asm 50 pand %3, [GLOBAL(tfe)]
801 tfe: label
loopfilter_sse2.asm 142 pand xmm2, [GLOBAL(tfe)] ; set lsb of each byte to zero
1614 tfe: label
    [all...]
  /frameworks/opt/calendar/src/com/android/calendarcommon2/
EventRecurrence.java 743 } catch (TimeFormatException tfe) {
    [all...]
  /external/robolectric/v3/libs/
vtd-xml-2.11.jar 
  /prebuilts/misc/common/robolectric/3.1.1/lib/
vtd-xml-2.11.jar 

Completed in 628 milliseconds

1 2