MCPcopy Create free account

hub / github.com/alibaba/bigcomputing / functions

Functions103 in github.com/alibaba/bigcomputing

↓ 24 callersMethodfill_ndarray
(self, hist)
DIEN/data_iterator.py:146
↓ 8 callersMethodmap_item
(self, x)
DIEN/data_utils.py:87
↓ 6 callersMethod__init__
(self, uid_n, item_n, cate_n, shop_n, node_n, product_n, brand_n, EMBEDDING_DIM, HIDDEN_SIZE, MEMORY_SIZE, BAT
DIEN/model_taobao_allfea.py:8
↓ 6 callersMethodbuild_fcn_net
(self, inp, use_dice = False)
DIEN/model_taobao_allfea.py:86
↓ 6 callersFunctiondynamic_rnn
Creates a recurrent neural network specified by RNNCell `cell`. Performs fully dynamic unrolling of `inputs`. Example: ```python # create a
DIEN/rnn.py:437
↓ 6 callersMethodmap_brand
(self, x)
DIEN/data_utils.py:105
↓ 6 callersMethodmap_cate
(self, x)
DIEN/data_utils.py:93
↓ 6 callersMethodmap_node
(self, x)
DIEN/data_utils.py:99
↓ 6 callersMethodmap_product
(self, x)
DIEN/data_utils.py:102
↓ 6 callersMethodmap_shop
(self, x)
DIEN/data_utils.py:96
↓ 5 callersMethodmap_item
(self, x)
DIEN/data_iterator.py:84
↓ 4 callersFunction_copy_some_through
(flat_new_output, flat_new_state)
DIEN/rnn.py:203
↓ 4 callersMethodmap_brand
(self, x)
DIEN/data_iterator.py:102
↓ 4 callersMethodmap_cate
(self, x)
DIEN/data_iterator.py:90
↓ 4 callersMethodmap_node
(self, x)
DIEN/data_iterator.py:96
↓ 4 callersMethodmap_product
(self, x)
DIEN/data_iterator.py:99
↓ 4 callersMethodmap_shop
(self, x)
DIEN/data_iterator.py:93
↓ 4 callersFunctionprelu
parametric ReLU activation
DIEN/utils.py:203
↓ 3 callersFunction_infer_state_dtype
Infer the dtype of an RNN state. Args: explicit_dtype: explicitly declared dtype or None. state: RNN's hidden state. Must be a Tensor or a
DIEN/rnn.py:106
↓ 3 callersFunctiondin_attention
(query, facts, attention_size, mask=None, stag='null', mode='SUM', softmax_stag=1, time_major=False, return_al
DIEN/utils.py:87
↓ 3 callersMethodnext
(self)
DIEN/data_loader.py:113
↓ 3 callersFunctionstatic_rnn
Creates a recurrent neural network specified by RNNCell `cell`. The simplest form of RNN network generated is: ```python state = cell.zero_s
DIEN/rnn.py:1104
↓ 2 callersMethod_batch_data
(self, data, data_slice)
DIEN/data_loader.py:79
↓ 2 callersFunction_best_effort_input_batch_size
Get static input batch size if available, with fallback to the dynamic one. Args: flat_input: An iterable of time major input Tensors of shape
DIEN/rnn.py:79
↓ 2 callersFunction_copy_one_through
(output, new_output)
DIEN/rnn.py:195
↓ 2 callersFunction_create_ta
(name, dtype)
DIEN/rnn.py:715
↓ 2 callersFunction_reverse
(input_, seq_lengths, seq_dim, batch_dim)
DIEN/rnn.py:409
↓ 2 callersFunction_reverse_seq
Reverse a list of Tensors up to specified lengths. Args: input_seq: Sequence of seq_len tensors of dimension (batch_size, n_features)
DIEN/rnn.py:268
↓ 2 callersFunction_rnn_step
Calculate one step of a dynamic RNN minibatch. Returns an (output, state) pair conditioned on the sequence_lengths. When skip_conditionals=False,
DIEN/rnn.py:137
↓ 2 callersMethodauxiliary_net
(self, in_, stag='auxiliary_net')
DIEN/model_taobao_allfea.py:129
↓ 2 callersFunctioncalc_auc
Summary Args: raw_arr (TYPE): Description Returns: TYPE: Description
DIEN/utils.py:210
↓ 2 callersFunctiondin_fcn_attention
(query, facts, attention_size, mask, stag='null', mode='SUM', softmax_stag=1, time_major=False, return_alphas=
DIEN/utils.py:321
↓ 2 callersFunctioneval
(sess, test_file, model, model_path, batch_size, maxlen, best_auc = [1.0])
DIEN/train_taobao_processed_allfea.py:34
↓ 2 callersMethodgen_neg_hist3
(self, length)
DIEN/data_utils.py:140
↓ 2 callersMethodmap_user
(self, x)
DIEN/data_utils.py:90
↓ 2 callersMethodreset
(self)
DIEN/data_iterator.py:155
↓ 2 callersMethodsave
(self, sess, path)
DIEN/model_taobao_allfea.py:245
↓ 2 callersFunctiontest
Summary
DIEN/wrap_time.py:92
↓ 1 callersMethod__init__
(self, args, output_size, build_bias, bias_initial
DIEN/utils.py:29
↓ 1 callersFunction_assert_has_shape
(x, shape)
DIEN/rnn.py:587
↓ 1 callersFunction_create_zero_arrays
(size)
DIEN/rnn.py:696
↓ 1 callersFunction_create_zero_output
(output_size)
DIEN/rnn.py:1227
↓ 1 callersFunction_dynamic_rnn_loop
Internal implementation of Dynamic RNN. Args: cell: An instance of RNNCell. inputs: A `Tensor` of shape [time, batch_size, input_size], or
DIEN/rnn.py:624
↓ 1 callersFunction_transpose_batch_time
Transpose the batch and time dimensions of a Tensor. Retains as much of the static shape information as possible. Args: x: A tensor of rank
DIEN/rnn.py:49
↓ 1 callersMethodauxiliary_loss
(self, h_states, click_seq, noclick_seq, mask = None, stag = None)
DIEN/model_taobao_allfea.py:116
↓ 1 callersMethodcalculate
(self, sess, inps)
DIEN/model_taobao_allfea.py:194
↓ 1 callersMethodcall
Gated recurrent unit (GRU) with nunits cells.
DIEN/utils.py:172
↓ 1 callersMethodgen_neg_hist
(self, length)
DIEN/data_iterator.py:115
↓ 1 callersFunctionloadDataset
( raw_path )
DIEN/data_utils.py:633
↓ 1 callersMethodmap_user
(self, x)
DIEN/data_iterator.py:87
↓ 1 callersMethodprocess2
(self, data_files, file_name)
DIEN/data_utils.py:206
↓ 1 callersMethodrestore
(self, sess, path)
DIEN/model_taobao_allfea.py:249
↓ 1 callersFunctiontest
( train_file, test_file, batch_size = 256, maxlen = 100, test_iter = 1
DIEN/train_taobao_processed_allfea.py:190
↓ 1 callersFunctiontest
()
DIEN/data_loader.py:168
↓ 1 callersFunctiontrain
( train_file, test_file, batch_size = 256, maxlen = 100, test_iter = 5
DIEN/train_taobao_processed_allfea.py:79
↓ 1 callersMethodtrain
(self, sess, inps)
DIEN/model_taobao_allfea.py:140
Method__call__
Summary Args: *args (TYPE): Description **kwargs (TYPE): Description Returns:
DIEN/wrap_time.py:44
Method__call__
(self, args)
DIEN/utils.py:75
Method__call__
(self, inputs, state, att_score)
DIEN/utils.py:170
Method__get__
Summary Args: instance (TYPE): Description cls (TYPE): Description Returns:
DIEN/wrap_time.py:71
Method__init__
Summary Args: func (TYPE): Description
DIEN/wrap_time.py:26
Method__init__
(self, num_units, activation=None, reuse=None, ker
DIEN/utils.py:149
Method__init__
( self, data_path, maxlen, )
DIEN/data_utils.py:27
Method__init__
(self,uid_n, item_n, cate_n, shop_n, node_n, product_n, brand_n, EMBEDDING_DIM, HIDDEN_SIZE, MEMORY_SIZE, BATC
DIEN/model_taobao_allfea.py:255
Method__init__
(self,uid_n, item_n, cate_n, shop_n, node_n, product_n, brand_n, EMBEDDING_DIM, HIDDEN_SIZE, MEMORY_SIZE, BATC
DIEN/model_taobao_allfea.py:264
Method__init__
(self,uid_n, item_n, cate_n, shop_n, node_n, product_n, brand_n, EMBEDDING_DIM, HIDDEN_SIZE, MEMORY_SIZE, BATC
DIEN/model_taobao_allfea.py:273
Method__init__
(self,uid_n, item_n, cate_n, shop_n, node_n, product_n, brand_n, EMBEDDING_DIM, HIDDEN_SIZE, MEMORY_SIZE, BATC
DIEN/model_taobao_allfea.py:288
Method__init__
(self,uid_n, item_n, cate_n, shop_n, node_n, product_n, brand_n, EMBEDDING_DIM, HIDDEN_SIZE, MEMORY_SIZE, BATC
DIEN/model_taobao_allfea.py:300
Method__init__
(self, uid_n, item_n, cate_n, shop_n, node_n, product_n, brand_n, EMBEDDING_DIM, HIDDEN_SIZE, MEMORY_SIZE, BAT
DIEN/model_taobao_allfea.py:321
Method__init__
(self, source, dict_list, batch_size=128, maxlen=2000, skip
DIEN/data_iterator.py:21
Method__init__
( self, data_path, data_file, batch_size, data_file_num, sleep
DIEN/data_loader.py:12
Method__iter__
(self)
DIEN/data_iterator.py:152
Method__iter__
(self)
DIEN/data_loader.py:31
Function_maybe_copy_some_through
Run RNN step. Pass through either no or some past state.
DIEN/rnn.py:215
Function_time_step
Take a time step of the dynamic RNN. Args: time: int32 scalar Tensor. output_ta_t: List of `TensorArray`s that represent the output.
DIEN/rnn.py:729
Functionattention
(query, facts, attention_size, mask, stag='null', mode='LIST', softmax_stag=1, time_major=False, return_alphas
DIEN/utils.py:275
Functionbidirectional_dynamic_rnn
Creates a dynamic version of bidirectional recurrent neural network. Takes input and builds independent forward and backward RNNs. The input_size
DIEN/rnn.py:310
Functionbody
(batch, output, i)
DIEN/utils.py:378
Functionbody
Internal while loop body for raw_rnn. Args: time: time scalar. elements_finished: batch-size vector. current_input: pos
DIEN/rnn.py:1038
Functioncalc_gauc
Summary Args: raw_arr (TYPE): Description Returns: TYPE: Description
DIEN/utils.py:248
Functioncond
(batch, output, i)
DIEN/utils.py:375
Functioncondition
(unused_time, elements_finished, *_)
DIEN/rnn.py:1035
Functioncopy_fn
(cur_i, cand_i)
DIEN/rnn.py:1073
Methoddata_read
(self, start_id, total_thread)
DIEN/data_loader.py:34
Functiondin_fcn_shine
(query, facts, attention_size, mask, stag='null', mode='SUM', softmax_stag=1, time_major=False, return_alphas=
DIEN/utils.py:419
Functionfile_num
(x)
DIEN/train_taobao_processed_allfea.py:22
Methodfill_ndarray
(self, hist)
DIEN/data_utils.py:200
Methodgen_item_block
(self, item_idx)
DIEN/data_iterator.py:105
Methodgen_neg_hist
(self, length)
DIEN/data_utils.py:108
Methodgen_neg_hist2
(self, length)
DIEN/data_utils.py:168
Methodget_embeddings_variable
(var_name, embedding_shape)
DIEN/model_taobao_allfea.py:11
Methodget_id_nums
(self)
DIEN/data_utils.py:77
Methodget_id_nums
(self)
DIEN/data_iterator.py:74
Methodnext
(self)
DIEN/data_iterator.py:160
Methodoutput_size
(self)
DIEN/utils.py:168
Methodprocess
(self, data_files, file_name)
DIEN/data_utils.py:424
Functionraw_rnn
Creates an `RNN` specified by RNNCell `cell` and loop function `loop_fn`. **NOTE: This method is still in testing, and the API may change.** Thi
DIEN/rnn.py:807
Functionself_all_attention
(facts, ATTENTION_SIZE, mask, stag='null')
DIEN/utils.py:395
Functionself_attention
(facts, ATTENTION_SIZE, mask, stag='null')
DIEN/utils.py:371
Methodstate_size
(self)
DIEN/utils.py:164
next →1–100 of 103, ranked by callers