Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/keras/layers/
Ddense_attention.py325 def __init__(self, use_scale=False, **kwargs): argument
327 self.use_scale = use_scale
331 if self.use_scale:
357 config = {'use_scale': self.use_scale}
465 def __init__(self, use_scale=True, **kwargs): argument
467 self.use_scale = use_scale
474 if self.use_scale:
499 if self.use_scale:
507 config = {'use_scale': self.use_scale}
Ddense_attention_test.py235 attention_layer = dense_attention.Attention(use_scale=True)
394 attention_layer = dense_attention.Attention(use_scale=True)
401 attention_layer = dense_attention.Attention(use_scale=True)
511 def test_serialization(self, use_scale): argument
513 layer = dense_attention.Attention(use_scale=use_scale)
517 self.assertEqual(new_layer.use_scale, use_scale)
521 self.assertEqual(new_layer.use_scale, use_scale)
611 attention_layer = dense_attention.AdditiveAttention(use_scale=False)
754 layer = dense_attention.AdditiveAttention(use_scale=True)
758 self.assertEqual(new_layer.use_scale, True)
[all …]
/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/v1/
Dtensorflow.keras.layers.-attention.pbtxt133 argspec: "args=[\'self\', \'use_scale\'], varargs=None, keywords=kwargs, defaults=[\'False\'], "
Dtensorflow.keras.layers.-additive-attention.pbtxt133 argspec: "args=[\'self\', \'use_scale\'], varargs=None, keywords=kwargs, defaults=[\'True\'], "
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.layers.-additive-attention.pbtxt133 argspec: "args=[\'self\', \'use_scale\'], varargs=None, keywords=kwargs, defaults=[\'True\'], "
Dtensorflow.keras.layers.-attention.pbtxt133 argspec: "args=[\'self\', \'use_scale\'], varargs=None, keywords=kwargs, defaults=[\'False\'], "