Home
last modified time | relevance | path

Searched refs:flattened_size (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dwhere_op.cc47 int64 flattened_size = xla::Product(iota_shape.dimensions()); in Compile() local
48 xla::XlaOp reshaped_condition = xla::Reshape(condition, {flattened_size}); in Compile()
65 xla::XlaOp reshaped = xla::Reshape(iota, {flattened_size}); in Compile()
77 to_concat.push_back(xla::Reshape(index_single_dim, {flattened_size, 1})); in Compile()
/external/tensorflow/tensorflow/lite/toco/
Dexport_tensorflow.cc836 int32 flattened_size = 1; in ConvertSoftmaxOperator() local
838 flattened_size *= input_shape.dims(i); in ConvertSoftmaxOperator()
841 flattened_size, input_shape.dims(input_shape.dimensions_count() - 1)}; in ConvertSoftmaxOperator()
878 int32 flattened_size = 1; in ConvertLogSoftmaxOperator() local
880 flattened_size *= input_shape.dims(i); in ConvertLogSoftmaxOperator()
883 flattened_size, input_shape.dims(input_shape.dimensions_count() - 1)}; in ConvertLogSoftmaxOperator()