Home
last modified time | relevance | path

Searched refs:expanded_shape (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/lib/
Ddata_format.cc60 std::vector<int64> expanded_shape(input_shape.dimensions()); in Expand() local
61 expanded_shape[dim] /= 4; in Expand()
62 expanded_shape.insert(expanded_shape.begin() + dim, 4); in Expand()
66 for (int64 i = 0; i != expanded_shape.size(); ++i) { in Expand()
74 return xla::Transpose(xla::Reshape(input, expanded_shape), permutation); in Expand()
/external/tensorflow/tensorflow/core/kernels/
Ddeserialize_sparse_string_op.cc126 Tensor expanded_shape(DT_INT64, TensorShape({1 + rank})); in Compute() local
128 auto expanded_shape_t = expanded_shape.vec<int64>(); in Compute()
132 TensorShape expanded_tensor_shape(expanded_shape.vec<int64>()); in Compute()
Dsparse_tensors_map_ops.cc428 Tensor expanded_shape(DT_INT64, TensorShape({1 + rank})); in Compute() local
431 auto expanded_shape_t = expanded_shape.vec<int64>(); in Compute()
/external/tensorflow/tensorflow/contrib/model_pruning/python/
Dpruning_utils.py145 expanded_shape = [tensor_shape[0] * multiple, tensor_shape[1]]
148 expanded_shape)
/external/tensorflow/tensorflow/compiler/xla/service/
Dconvolution_group_converter.cc108 Shape expanded_shape = shape; in ExpandedFilterShape() local
109 expanded_shape.set_dimensions( in ExpandedFilterShape()
111 return expanded_shape; in ExpandedFilterShape()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dconv_op_helpers.cc49 xla::Shape expanded_shape = shape; in ExpandedFilterShapeForDepthwiseConvolution() local
50 expanded_shape.set_dimensions( in ExpandedFilterShapeForDepthwiseConvolution()
53 return expanded_shape; in ExpandedFilterShapeForDepthwiseConvolution()
/external/tensorflow/tensorflow/python/ops/
Dnn_grad.py367 expanded_shape = array_ops.concat([
373 expanded_shape = array_ops.concat(
377 expanded_grad = array_ops.reshape(received_grad, expanded_shape)
Dmetrics_impl.py2914 expanded_shape = array_ops.concat(
2920 tensor, shape=expanded_shape, name='expand')
/external/tensorflow/tensorflow/python/ops/distributions/
Ddistribution.py1251 expanded_shape = util.pick_vector(
1254 x = array_ops.reshape(x, expanded_shape)
/external/tensorflow/tensorflow/python/keras/layers/
Dnormalization.py577 expanded_shape = [self.virtual_batch_size, -1] + original_shape[1:]
580 inputs = array_ops.reshape(inputs, expanded_shape)