Home
last modified time | relevance | path

Searched refs:normalizer_fn (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/python/feature_column/
Dsequence_feature_column.py433 normalizer_fn=None): argument
478 if normalizer_fn is not None and not callable(normalizer_fn):
480 'normalizer_fn must be a callable. Given: {}'.format(normalizer_fn))
487 normalizer_fn=normalizer_fn)
538 if self.normalizer_fn is not None:
539 input_tensor = self.normalizer_fn(input_tensor)
Dserialization_test.py99 price = fc.numeric_column('price', normalizer_fn=_custom_fn)
115 self.assertIs(new_price.normalizer_fn, _custom_fn)
Dfeature_column.py945 normalizer_fn=None): argument
1004 if normalizer_fn is not None and not callable(normalizer_fn):
1006 'normalizer_fn must be a callable. Given: {}'.format(normalizer_fn))
1014 normalizer_fn=normalizer_fn)
2351 if self.normalizer_fn is not None:
2352 input_tensor = self.normalizer_fn(input_tensor)
Dsequence_feature_column_test.py1388 self.assertIsNone(a.normalizer_fn)
1409 sfc.sequence_numeric_column('aaa', normalizer_fn='NotACallable')
1467 'aaa', normalizer_fn=_increment_two)
1589 normalizer_fn=_custom_fn)
1596 self.assertEqual(column.normalizer_fn(3), 45)
Dfeature_column_v2.py1323 normalizer_fn=None): argument
1382 if normalizer_fn is not None and not callable(normalizer_fn):
1384 'normalizer_fn must be a callable. Given: {}'.format(normalizer_fn))
1392 normalizer_fn=normalizer_fn)
2861 if self.normalizer_fn is not None:
2862 input_tensor = self.normalizer_fn(input_tensor)
2933 self.normalizer_fn)
Dfeature_column_v2_test.py273 self.assertIsNone(a.normalizer_fn)
391 fc.numeric_column('price', normalizer_fn='NotACallable')
399 price = fc.numeric_column('price', shape=[2], normalizer_fn=_increment_two)
412 price = fc.numeric_column('price', shape=[2], normalizer_fn=_increment_two)
493 price = fc.numeric_column('price', normalizer_fn=_increment_two)
Dfeature_column_test.py198 self.assertIsNone(a.normalizer_fn)
309 fc._numeric_column('price', normalizer_fn='NotACallable')
317 price = fc._numeric_column('price', shape=[2], normalizer_fn=_increment_two)
328 price = fc._numeric_column('price', shape=[2], normalizer_fn=_increment_two)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.feature_column.pbtxt41 …argspec: "args=[\'key\', \'shape\', \'default_value\', \'dtype\', \'normalizer_fn\'], varargs=None…
61 …argspec: "args=[\'key\', \'shape\', \'default_value\', \'dtype\', \'normalizer_fn\'], varargs=None…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.feature_column.pbtxt49 …argspec: "args=[\'key\', \'shape\', \'default_value\', \'dtype\', \'normalizer_fn\'], varargs=None…
69 …argspec: "args=[\'key\', \'shape\', \'default_value\', \'dtype\', \'normalizer_fn\'], varargs=None…