Home
last modified time | relevance | path

Searched refs:in_mat (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dpooling_ops_common.h176 ConstEigenMatrixMap in_mat(tensor_in.flat<T>().data(), params.depth, in SpatialMaxPool()
197 auto shard = [&params, &in_mat, &out_mat](int64 start, int64 limit) { in SpatialMaxPool()
241 out_mat.col(out_offset).cwiseMax(in_mat.col(in_offset)); in SpatialMaxPool()
423 ConstEigenMatrixMap in_mat(tensor_in.flat<T>().data(), params.depth,
444 auto shard = [&params, &in_mat, &out_mat](int64 start, int64 limit) {
488 out_mat.col(out_offset).cwiseMax(in_mat.col(in_offset));
531 ConstEigenMatrixMap in_mat(
580 out_mat.col(out_offset) += in_mat.col(in_offset);
Dfractional_avg_pool_op.cc119 ConstEigenMatrixMap in_mat(tensor_in.flat<T>().data(), input_size[3], in Compute() local
172 out_mat.col(out_offset) += in_mat.col(in_offset); in Compute()
Dfractional_max_pool_op.cc125 ConstEigenMatrixMap in_mat(tensor_in.flat<T>().data(), input_size[3], in Compute() local
176 out_mat.col(out_offset).cwiseMax(in_mat.col(in_offset)); in Compute()
Dmaxpooling_op.cc77 ConstEigenMatrixMap in_mat( in SpatialMaxPoolWithArgMaxHelper() local
100 auto shard = [&params, &in_mat, &out_mat, &out_arg_max_mat, &input_backprop, in SpatialMaxPoolWithArgMaxHelper()
149 const T& input_ref = in_mat.coeffRef(d, in_index); in SpatialMaxPoolWithArgMaxHelper()
548 ConstEigenMatrixMap in_mat( in SpatialMaxPoolGradGrad() local
581 auto shard = [&params, &in_mat, &out_mat, &top_diff_mat, &bottom_diff_mat]( in SpatialMaxPoolGradGrad()
623 const T& input_ref = in_mat.coeffRef(d, in_index); in SpatialMaxPoolGradGrad()
Dpooling_ops_3d.cc557 ConstEigenMatrixMap in_mat(tensor_in.flat<T>().data(), params.depth, in launch() local
576 auto shard = [&params, &in_mat, &out_mat, &top_diff_mat, &bottom_diff_mat]( in launch()
631 const T& input_ref = in_mat.coeffRef(d, in_index); in launch()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h3980 const auto in_mat = MapAsMatrixWithLastDimAsRows(input_data, input_shape); in AveragePool() local
4007 in_mat.col(NodeOffset(b, h, w, input_height, input_width)); in AveragePool()
4171 const auto in_mat = MapAsMatrixWithLastDimAsRows(input_data, input_shape); in MaxPool() local
4196 .cwiseMax(in_mat.col( in MaxPool()
4335 const auto in_mat = MapAsMatrixWithLastDimAsRows(input_data, input_shape); in L2Pool() local
4337 Eigen::VectorXf in_square(in_mat.rows()); in L2Pool()
4362 in_mat.col(in_offset).array() * in_mat.col(in_offset).array(); in L2Pool()
4437 const auto in_mat = MapAsMatrixWithLastDimAsRows(input_data, input_shape); in Softmax() local
4442 (in_mat.rowwise() - in_mat.colwise().maxCoeff()).array() * params.beta; in Softmax()
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Doptimized_ops.h4127 const auto in_mat = MapAsMatrixWithLastDimAsRows(input_data, input_shape); in AveragePool() local
4154 in_mat.col(NodeOffset(b, h, w, input_height, input_width)); in AveragePool()
4302 const auto in_mat = MapAsMatrixWithLastDimAsRows(input_data, input_shape); in MaxPool() local
4327 .cwiseMax(in_mat.col( in MaxPool()
4450 const auto in_mat = MapAsMatrixWithLastDimAsRows(input_data, input_shape); in L2Pool() local
4452 Eigen::VectorXf in_square(in_mat.rows()); in L2Pool()
4477 in_mat.col(in_offset).array() * in_mat.col(in_offset).array(); in L2Pool()
4552 const auto in_mat = MapAsMatrixWithLastDimAsRows(input_data, input_shape); in Softmax() local
4557 (in_mat.rowwise() - in_mat.colwise().maxCoeff()).array() * params.beta; in Softmax()