Home
last modified time | relevance | path

Searched refs:use_scale (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/python/keras/layers/
Ddense_attention.py306 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}
Ddense_attention_test.py214 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/
DSampleIdentityScale.cpp48 bool use_scale = (time.fSecond % 2 == 1); in onDrawContent() local
52 if (use_scale) { in onDrawContent()
/external/skqp/samplecode/
DSampleIdentityScale.cpp55 bool use_scale = (time.fSecond % 2 == 1); in onDrawContent() local
59 if (use_scale) { in onDrawContent()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.layers.-additive-attention.pbtxt116 argspec: "args=[\'self\', \'use_scale\'], varargs=None, keywords=kwargs, defaults=[\'True\'], "
Dtensorflow.keras.layers.-attention.pbtxt116 argspec: "args=[\'self\', \'use_scale\'], varargs=None, keywords=kwargs, defaults=[\'False\'], "
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.layers.-attention.pbtxt116 argspec: "args=[\'self\', \'use_scale\'], varargs=None, keywords=kwargs, defaults=[\'False\'], "
Dtensorflow.keras.layers.-additive-attention.pbtxt116 argspec: "args=[\'self\', \'use_scale\'], varargs=None, keywords=kwargs, defaults=[\'True\'], "