Home
last modified time | relevance | path

Searched refs:cell_size (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/rnn/
Dgru_ops.cc54 const int64 cell_size = h_prev_tensor->dim_size(1); in Compute() local
63 OP_REQUIRES(ctx, h_prev_tensor->dim_size(1) == cell_size, in Compute()
66 " vs. ", cell_size)); in Compute()
69 OP_REQUIRES(ctx, w_ru_tensor->dim_size(0) == input_size + cell_size, in Compute()
72 w_ru_tensor->dim_size(0), " vs. ", input_size + cell_size)); in Compute()
74 OP_REQUIRES(ctx, w_ru_tensor->dim_size(1) == cell_size * 2, in Compute()
77 cell_size * 2)); in Compute()
80 OP_REQUIRES(ctx, w_c_tensor->dim_size(0) == input_size + cell_size, in Compute()
83 w_c_tensor->dim_size(0), " vs. ", input_size + cell_size)); in Compute()
85 OP_REQUIRES(ctx, w_c_tensor->dim_size(1) == cell_size, in Compute()
[all …]
Dlstm_ops_gpu.cu.cc89 const int batch_size, const int cell_size) { in lstm_gates() argument
96 if (batch_id >= batch_size || act_id >= cell_size) return; in lstm_gates()
142 const int gid = batch_id * cell_size * 4 + act_id; in lstm_gates()
143 const int cid = batch_id * cell_size + act_id; in lstm_gates()
151 sigmoid_op(gates[0 * cell_size + gid] + b[0 * cell_size + act_id] + in lstm_gates()
155 sigmoid_op(gates[0 * cell_size + gid] + b[0 * cell_size + act_id]); in lstm_gates()
159 const int c_offset = gate_c_offset(gate_layout, cell_size); in lstm_gates()
160 const int f_offset = gate_f_offset(gate_layout, cell_size); in lstm_gates()
186 o_local = sigmoid_op(gates[3 * cell_size + gid] + in lstm_gates()
187 b[3 * cell_size + act_id] + cs_local * wco[act_id]); in lstm_gates()
[all …]
Dlstm_ops.cc70 Eigen::array<Eigen::DenseIndex, 2> p_shape({1, cell.cell_size()}); in LSTMBlockCellFpropWithEigen()
153 Eigen::array<Eigen::DenseIndex, 2> p_shape({1, cell.cell_size()}); in LSTMBlockCellBpropWithEigen()
333 const int64 cell_size = cs_prev_tensor->dim_size(1); in Compute() local
340 OP_REQUIRES(ctx, cs_prev_tensor->dim_size(1) == cell_size, in Compute()
343 cell_size)); in Compute()
349 OP_REQUIRES(ctx, h_prev_tensor->dim_size(1) == cell_size, in Compute()
352 " vs. ", cell_size)); in Compute()
354 OP_REQUIRES(ctx, w_tensor->dim_size(0) == input_size + cell_size, in Compute()
357 w_tensor->dim_size(0), " vs. ", input_size + cell_size)); in Compute()
358 OP_REQUIRES(ctx, w_tensor->dim_size(1) == cell_size * 4, in Compute()
[all …]
Dlstm_ops.h30 constexpr int gate_c_offset(GateLayout gate_layout, int cell_size) { in gate_c_offset() argument
31 return (gate_layout == ICFO) ? cell_size : cell_size * 2; in gate_c_offset()
34 constexpr int gate_f_offset(GateLayout gate_layout, int cell_size) { in gate_f_offset() argument
35 return (gate_layout == ICFO) ? cell_size * 2 : cell_size; in gate_f_offset()
105 LSTMBlockCell(const int batch_size, const int input_size, const int cell_size) in LSTMBlockCell()
108 cell_size_(cell_size) {} in LSTMBlockCell()
114 int cell_size() const { return cell_size_; } in cell_size() function
165 const int cell_size) in LSTMBlockCellFprop()
166 : LSTMBlockCell(batch_size, input_size, cell_size) {} in LSTMBlockCellFprop()
190 const int cell_size) in LSTMBlockCellBprop()
[all …]
Dgru_ops.h31 GRUCell(const int batch_size, const int input_size, const int cell_size) in GRUCell()
34 cell_size_(cell_size) {} in GRUCell()
71 const int cell_size) in GRUBlockCellFprop()
72 : GRUCell(batch_size, input_size, cell_size) {} in GRUBlockCellFprop()
127 const int cell_size) in GRUBlockCellBprop()
128 : GRUCell(batch_size, input_size, cell_size) {} in GRUBlockCellBprop()
/external/tensorflow/tensorflow/core/ops/
Drnn_ops.cc43 DimensionHandle cell_size = c->Dim(h_prev, 1); in __anon264e79e10102() local
44 ShapeHandle output = c->Matrix(batch_size, cell_size); in __anon264e79e10102()
74 DimensionHandle cell_size = c->Dim(h_prev, 1); in __anon264e79e10202() local
76 ShapeHandle batch_cell_shape = c->Matrix(batch_size, cell_size); in __anon264e79e10202()
111 DimensionHandle cell_size = c->Dim(cs_prev, 1); in __anon264e79e10302() local
112 ShapeHandle output = c->Matrix(batch_size, cell_size); in __anon264e79e10302()
149 DimensionHandle cell_size = c->Dim(cs_prev, 1); in __anon264e79e10402() local
151 TF_RETURN_IF_ERROR(c->Multiply(cell_size, 4, &cell_size_times_4)); in __anon264e79e10402()
152 ShapeHandle cell_size_vec = c->Vector(cell_size); in __anon264e79e10402()
154 c->set_output(0, c->Matrix(batch_size, cell_size)); in __anon264e79e10402()
[all …]
/external/iproute2/tc/
Dq_netem.c415 if (get_u32(&rate.cell_size, *argv, 0)) { in netem_parse_opt()
668 if (rate->cell_size) in netem_print_opt()
669 fprintf(f, " cellsize %u", rate->cell_size); in netem_print_opt()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_dnn.cc1060 int hidden_size, int input_size, int cell_size, in CudnnRnnDescriptor() argument
1073 cell_size_(cell_size), in CudnnRnnDescriptor()
1090 int cell_size, int batch_size, cudnnRNNInputMode_t input_mode, in Create() argument
1104 hidden_size = std::max(hidden_size, cell_size); in Create()
1195 num_layers, hidden_size, input_size, cell_size, in Create()
1205 int cell_size() const { return cell_size_; } in cell_size() function in stream_executor::gpu::CudnnRnnDescriptor
1592 int cell_size = 0; member
1618 model_dims.cell_size = rnn_desc.cell_size(); in ExtractAndCheckRnnForward()
2071 int num_layers, int hidden_size, int input_size, int cell_size, in createRnnDescriptor() argument
2083 cudnn, num_layers, hidden_size, input_size, cell_size, batch_size, in createRnnDescriptor()
Dcuda_dnn.h51 int num_layers, int hidden_size, int input_size, int cell_size,
/external/libnl/lib/route/
Dtc.c678 int rtnl_tc_calc_cell_log(int cell_size) in rtnl_tc_calc_cell_log() argument
683 if ((1 << i) == cell_size) in rtnl_tc_calc_cell_log()
/external/tensorflow/tensorflow/stream_executor/
Dstream_executor_pimpl.cc366 int num_layers, int hidden_size, int input_size, int cell_size, in createRnnDescriptor() argument
378 num_layers, hidden_size, input_size, cell_size, batch_size, input_mode, in createRnnDescriptor()
Dstream_executor_pimpl.h416 int num_layers, int hidden_size, int input_size, int cell_size,
Ddnn.h2111 int cell_size, int batch_size, in createRnnDescriptor() argument
/external/iproute2/include/uapi/linux/
Dpkt_sched.h571 __u32 cell_size; member
/external/libnl/include/linux-private/linux/
Dpkt_sched.h591 __u32 cell_size; member
/external/kernel-headers/original/uapi/linux/
Dpkt_sched.h639 __u32 cell_size; member
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_dnn.h85 int num_layers, int hidden_size, int input_size, int cell_size,
Drocm_dnn.cc2516 int num_layers, int hidden_size, int input_size, int cell_size, in createRnnDescriptor() argument
2529 bool use_projection = cell_size != 0 && hidden_size < cell_size; in createRnnDescriptor()