Searched refs:use_scale (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/python/keras/layers/ |
D | dense_attention.py | 306 def __init__(self, use_scale=False, **kwargs): argument 308 self.use_scale = use_scale 312 if self.use_scale: 338 config = {'use_scale': self.use_scale} 442 def __init__(self, use_scale=True, **kwargs): argument 444 self.use_scale = use_scale 451 if self.use_scale: 476 if self.use_scale: 484 config = {'use_scale': self.use_scale}
|
D | dense_attention_test.py | 214 attention_layer = dense_attention.Attention(use_scale=True) 358 attention_layer = dense_attention.Attention(use_scale=True) 366 attention_layer = dense_attention.Attention(use_scale=True) 462 layer = dense_attention.Attention(use_scale=True) 466 self.assertEqual(new_layer.use_scale, True) 470 self.assertEqual(new_layer.use_scale, True) 564 attention_layer = dense_attention.AdditiveAttention(use_scale=False) 708 layer = dense_attention.AdditiveAttention(use_scale=True) 712 self.assertEqual(new_layer.use_scale, True) 716 self.assertEqual(new_layer.use_scale, True)
|
/external/skia/samplecode/ |
D | SampleIdentityScale.cpp | 48 bool use_scale = (time.fSecond % 2 == 1); in onDrawContent() local 52 if (use_scale) { in onDrawContent()
|
/external/skqp/samplecode/ |
D | SampleIdentityScale.cpp | 55 bool use_scale = (time.fSecond % 2 == 1); in onDrawContent() local 59 if (use_scale) { in onDrawContent()
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.keras.layers.-additive-attention.pbtxt | 116 argspec: "args=[\'self\', \'use_scale\'], varargs=None, keywords=kwargs, defaults=[\'True\'], "
|
D | tensorflow.keras.layers.-attention.pbtxt | 116 argspec: "args=[\'self\', \'use_scale\'], varargs=None, keywords=kwargs, defaults=[\'False\'], "
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.keras.layers.-attention.pbtxt | 116 argspec: "args=[\'self\', \'use_scale\'], varargs=None, keywords=kwargs, defaults=[\'False\'], "
|
D | tensorflow.keras.layers.-additive-attention.pbtxt | 116 argspec: "args=[\'self\', \'use_scale\'], varargs=None, keywords=kwargs, defaults=[\'True\'], "
|