MCPcopy Create free account
hub / github.com/apple/ml-pointersect / test_3

Method test_3

tests/cdslib/nn/modules/test_graves.py:37–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35
36
37 def test_3(self):
38 self._build_model(
39 dim_z=20,
40 output_layer_type='StackedFiLMLayers',
41 feed_z_to_decode_rnn=True,
42 num_output_layers=3,
43 dim_output_layers=128,
44 output_layer_nonlinearity='relu',
45 output_layer_dropout_prob=0,
46 output_layer_normalize=True,
47 output_layer_normalize_first=True,
48 output_layer_init_freq_first_layer=1.,
49 output_layer_init_freq_other_layer=25.,
50 # style mapping layer
51 num_mapping_layers=4,
52 dim_mapping_layers=256,
53 mapping_layer_nonlinearity='silu',
54 mapping_layer_dropout_prob=0.,
55 )
56
57
58 def _build_model(

Callers

nothing calls this directly

Calls 1

_build_modelMethod · 0.95

Tested by

no test coverage detected