Home
last modified time | relevance | path

Searched refs:num_params_per_layer (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/contrib/cudnn_rnn/python/kernel_tests/
Dcudnn_rnn_test.py482 num_params_per_layer = CUDNN_LSTM_PARAMS_PER_LAYER
484 num_params_per_layer = CUDNN_GRU_PARAMS_PER_LAYER
486 num_params_per_layer = CUDNN_RNN_TANH_PARAMS_PER_LAYER
488 num_params_per_layer = CUDNN_RNN_RELU_PARAMS_PER_LAYER
490 num_params_per_layer *= num_dirs
491 self.assertEqual(num_params_per_layer * num_layers, len(lhs))
494 layer_lhs = lhs[i * num_params_per_layer: (i+1) * num_params_per_layer]
495 layer_rhs = rhs[i * num_params_per_layer: (i+1) * num_params_per_layer]
/external/tensorflow/tensorflow/contrib/cudnn_rnn/python/ops/
Dcudnn_rnn_ops.py937 num_params_per_layer = CUDNN_LSTM_PARAMS_PER_LAYER
939 num_params_per_layer = CUDNN_GRU_PARAMS_PER_LAYER
941 num_params_per_layer = CUDNN_RNN_RELU_PARAMS_PER_LAYER
943 num_params_per_layer = CUDNN_RNN_TANH_PARAMS_PER_LAYER
946 num_params = num_layers * num_params_per_layer
/external/tensorflow/tensorflow/core/kernels/
Dcudnn_rnn_ops.cc1112 const int num_params_per_layer = num_params_ / num_layers / num_dirs; in Compute() local
1115 const int num_params_input_state = num_params_per_layer / 2; in Compute()
1118 CHECK(num_params_per_layer % 2 == 0) in Compute()
1127 const int layer_idx = i / num_params_per_layer; in Compute()
1128 const int index_within_layer = i % num_params_per_layer; in Compute()