Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Enny1991/PLSTM
/ functions
Functions
35 in github.com/Enny1991/PLSTM
⨍
Functions
35
◇
Types & classes
2
↓ 2 callers
Function
_get_concat_variable
Get a sharded variable concatenated into one tensor.
PhasedLSTMCell.py:55
↓ 2 callers
Function
_linear
Linear map: sum_i(args[i] * W[i]), where W[i] is a variable. Args: args: a 2D Tensor or a list of 2D, batch x n, Tensors. output_si
PhasedLSTMCell_v1.py:58
↓ 2 callers
Function
gen_async_sin
(async_sampling, resolution=None, batch_size=32, on_target_T=(5, 6), off_target_T=(1, 100),
simplePhasedLSTM_v1.py:90
↓ 2 callers
Function
gen_async_sin
(async_sampling, resolution=None, batch_size=32, on_target_T=(5, 6), off_target_T=(1, 100),
simplePhasedLSTM.py:89
↓ 1 callers
Function
RNN
(_X, _weights, _biases, lens, initial_states)
simplePhasedLSTM_v1.py:141
↓ 1 callers
Function
RNN
(_X, _weights, _biases, lens, initial_states)
simplePhasedLSTM.py:140
↓ 1 callers
Function
_get_sharded_variable
Get a list of sharded variables with the given dtype.
PhasedLSTMCell.py:73
↓ 1 callers
Function
make_initializer
(var)
simplePhasedLSTM_v1.py:51
↓ 1 callers
Function
make_initializer
(var)
simplePhasedLSTM.py:50
↓ 1 callers
Function
make_safe_initializer
Returns initializer op that only runs for uninitialized ops.
simplePhasedLSTM_v1.py:60
↓ 1 callers
Function
make_safe_initializer
Returns initializer op that only runs for uninitialized ops.
simplePhasedLSTM.py:59
↓ 1 callers
Function
multiPLSTM
Function to build multilayer PLSTM :param cells: :param inputs: :param lens: 2D tensor, length of the sequences in the batch (for syn
PhasedLSTMCell_v1.py:374
↓ 1 callers
Function
multiPLSTM
Function to build multilayer PLSTM :param cells: :param inputs: :param lens: 2D tensor, length of the sequences in the batch (for syn
PhasedLSTMCell.py:366
↓ 1 callers
Function
random_exp_initializer
Returns an initializer that generates tensors with an exponential distribution. Args: minval: A python scalar or a scalar tensor. Lower bou
PhasedLSTMCell_v1.py:24
↓ 1 callers
Function
random_exp_initializer
Returns an initializer that generates tensors with an exponential distribution. Args: minval: A python scalar or a scalar tensor. Lower bou
PhasedLSTMCell.py:21
Method
__call__
Run one step of LSTM. Args: inputs: input Tensor, 2D, batch x num_units. state: if `state_is_tuple` is False, this mu
PhasedLSTMCell_v1.py:219
Method
__call__
Run one step of LSTM. Args: inputs: input Tensor, 2D, batch x num_units. state: if `state_is_tuple` is False, this must b
PhasedLSTMCell.py:211
Method
__init__
(self, num_units, input_size=None, use_peepholes=False, cell_clip=None, init
PhasedLSTMCell_v1.py:136
Method
__init__
Initialize the parameters for an PLSTM cell. Args: num_units: int, The number of units in the LSTM cell input_size: Depre
PhasedLSTMCell.py:122
Function
_initializer
(shape, dtype=dtype, partition_info=None)
PhasedLSTMCell_v1.py:42
Function
_initializer
(shape, dtype=dtype, partition_info=None)
PhasedLSTMCell.py:39
Function
_mod_grad
(op, grad)
PhasedLSTMCell_v1.py:50
Function
_mod_grad
(op, grad)
PhasedLSTMCell.py:47
Function
f
()
simplePhasedLSTM_v1.py:52
Function
f
()
simplePhasedLSTM.py:51
Function
initialize_all_variables
Initializes all uninitialized variables in correct order. Initializers are only run for uninitialized variables, so it's safe to run this multiple
simplePhasedLSTM_v1.py:42
Function
initialize_all_variables
Initializes all uninitialized variables in correct order. Initializers are only run for uninitialized variables, so it's safe to run this multiple
simplePhasedLSTM.py:41
Function
main
(_)
simplePhasedLSTM_v1.py:159
Function
main
(_)
simplePhasedLSTM.py:159
Function
make_noop
()
simplePhasedLSTM_v1.py:57
Function
make_noop
()
simplePhasedLSTM.py:56
Method
output_size
(self)
PhasedLSTMCell_v1.py:216
Method
output_size
(self)
PhasedLSTMCell.py:208
Method
state_size
(self)
PhasedLSTMCell_v1.py:212
Method
state_size
(self)
PhasedLSTMCell.py:204