Searched refs:keep_dims (Results 51 - 65 of 65) sorted by relevance

123

/external/tensorflow/tensorflow/core/kernels/hexagon/
H A Dgraph_transferer.cc51 const char KEEP_DIMS_ATTR_NAME[] = "keep_dims";
691 bool keep_dims = false; local
693 if (context->GetAttr(KEEP_DIMS_ATTR_NAME, &keep_dims).ok()) {
694 padding_id = keep_dims ? Padding::SAME : Padding::VALID;
/external/tensorflow/tensorflow/contrib/lite/toco/
H A Dimport_tensorflow.cc748 if (HasAttr(node, "keep_dims")) {
749 op->keep_dims = GetBoolAttr(node, "keep_dims");
1126 if (HasAttr(node, "keep_dims")) {
1127 op->keep_dims = GetBoolAttr(node, "keep_dims");
1141 if (HasAttr(node, "keep_dims")) {
1142 op->keep_dims = GetBoolAttr(node, "keep_dims");
1485 if (HasAttr(node, "keep_dims")) {
[all...]
H A Dexport_tensorflow.cc1510 if (src_op.keep_dims) {
1511 (*new_op->mutable_attr())["keep_dims"].set_b(true);
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
H A Dops_test.py663 self.original_lt.tensor, 1, keep_dims=True),
671 self.original_lt.tensor, 1, keep_dims=True),
/external/tensorflow/tensorflow/core/grappler/optimizers/
H A Dconstant_folding.cc588 const bool keep_dims = local
589 node->attr().count("keep_dims") && node->attr().at("keep_dims").b();
595 if (!IsReshape(*fanout) && !keep_dims) {
597 // of shape [], [1], [1, 1], [1, 1, ...]. If keep_dims isn't true, we
/external/tensorflow/tensorflow/contrib/boosted_trees/python/training/functions/
H A Dgbdt_batch_test.py46 math_ops.square(predictions - label), 1, keep_dims=True)
/external/tensorflow/tensorflow/contrib/layers/python/layers/
H A Dembedding_ops.py473 ids, math_ops.reduce_prod(shape, keep_dims=True))
H A Dlayers.py774 mean, variance = nn.moments(inputs, moments_axes, keep_dims=True)
2173 mean, variance = nn.moments(inputs, norm_axes, keep_dims=True)
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
H A Dmath_utils.py63 maximum = math_ops.reduce_max(diagonal, axis=-1, keep_dims=True)
/external/tensorflow/tensorflow/python/ops/
H A Dnn_fused_batchnorm_test.py101 math_ops.cast(x, scale.dtype), [0, 1, 2], keep_dims=False)
/external/tensorflow/tensorflow/contrib/lite/schema/
H A Dschema_generated.h3301 bool keep_dims; member in struct:tflite::MeanOptionsT
3303 : keep_dims(false) {
3312 bool keep_dims() const { function in struct:tflite::FLATBUFFERS_FINAL_CLASS
3328 void add_keep_dims(bool keep_dims) { argument
3329 fbb_.AddElement<uint8_t>(MeanOptions::VT_KEEP_DIMS, static_cast<uint8_t>(keep_dims), 0);
3345 bool keep_dims = false) {
3347 builder_.add_keep_dims(keep_dims);
5311 { auto _e = keep_dims(); _o->keep_dims = _e; };
5322 auto _keep_dims = _o->keep_dims;
[all...]
/external/tensorflow/tensorflow/core/graph/
H A Dgraph_constructor_test.cc2898 key: "keep_dims"
2982 key: "keep_dims"
/external/tensorflow/tensorflow/contrib/lite/testing/
H A Dgenerate_examples.py709 "keep_dims": [True, False],
720 "keep_dims": [True, False],
743 input_tensor, axis=axis, keep_dims=parameters["keep_dims"])
/external/tensorflow/tensorflow/contrib/metrics/python/ops/
H A Dmetric_ops.py3226 ], keep_dims=True)
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/reference/
H A Dreference_ops.h2801 const int num_axis_dimensions, bool keep_dims, int* temp_index,

Completed in 407 milliseconds

123