Home
last modified time | relevance | path

Searched refs:pooling_ratio (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/python/kernel_tests/
Dfractional_avg_pool_op_test.py114 def _ValidateFractionalAvgPoolResult(self, input_tensor, pooling_ratio, argument
133 pooling_ratio,
160 pooling_ratio = [1, math.sqrt(2), math.sqrt(2), 1]
164 pooling_ratio,
291 pooling_ratio = [1, 1.5, 1.5, 1]
296 pooling_ratio,
436 pooling_ratio = [1, math.sqrt(2), math.sqrt(3), 1]
444 pooling_ratio,
465 pooling_ratio = [1, math.sqrt(3), math.sqrt(2), 1]
476 pooling_ratio,
[all …]
Dfractional_max_pool_op_test.py114 def _ValidateFractionalMaxPoolResult(self, input_tensor, pooling_ratio, argument
133 pooling_ratio,
160 pooling_ratio = [1, math.sqrt(2), math.sqrt(2), 1]
164 pooling_ratio,
288 pooling_ratio = [1, 1.5, 1.5, 1]
293 pooling_ratio,
441 pooling_ratio = [1, math.sqrt(2), math.sqrt(3), 1]
449 pooling_ratio,
470 pooling_ratio = [1, math.sqrt(3), math.sqrt(2), 1]
483 pooling_ratio,
[all …]
/external/tensorflow/tensorflow/python/ops/
Dnn_ops.py5287 pooling_ratio, argument
5364 return gen_nn_ops.fractional_max_pool(value, pooling_ratio, pseudo_random,
5372 pooling_ratio, argument
5442 if (isinstance(pooling_ratio, (list, tuple))):
5443 if (pooling_ratio[0] != 1.0 or pooling_ratio[-1] != 1.0):
5446 for element in pooling_ratio:
5449 elif (isinstance(pooling_ratio, (int, float))):
5450 if pooling_ratio < 1.0:
5455 pooling_ratio = _get_sequence(pooling_ratio, 2, 3, "pooling_ratio")
5458 return gen_nn_ops.fractional_max_pool(value, pooling_ratio, pseudo_random,
[all …]
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DFractionalMaxPool.pbtxt20 name: "pooling_ratio"
DFractionalAvgPool.pbtxt20 name: "pooling_ratio"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DFractionalMaxPool.pbtxt20 name: "pooling_ratio"
DFractionalAvgPool.pbtxt20 name: "pooling_ratio"
/external/tensorflow/tensorflow/core/ops/
Dnn_ops_test.cc519 auto set_op = [&op, op_name](const std::vector<float>& pooling_ratio) { in TEST() argument
522 .Attr("pooling_ratio", pooling_ratio) in TEST()
Dnn_ops.cc39 std::vector<float> pooling_ratio; in FractionalPoolShapeFn() local
40 TF_RETURN_IF_ERROR(c->GetAttr("pooling_ratio", &pooling_ratio)); in FractionalPoolShapeFn()
41 if (pooling_ratio.size() != 4) { in FractionalPoolShapeFn()
51 auto val = static_cast<int64>(std::floor(c->Value(d) / pooling_ratio[i])); in FractionalPoolShapeFn()
Dops.pbtxt17124 name: "pooling_ratio"
17238 name: "pooling_ratio"
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_FractionalAvgPool.pbtxt28 name: "pooling_ratio"
Dapi_def_FractionalMaxPool.pbtxt28 name: "pooling_ratio"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.nn.pbtxt165 …argspec: "args=[\'value\', \'pooling_ratio\', \'pseudo_random\', \'overlapping\', \'seed\', \'name…
169 …argspec: "args=[\'value\', \'pooling_ratio\', \'pseudo_random\', \'overlapping\', \'seed\', \'name…
Dtensorflow.raw_ops.pbtxt1693 …argspec: "args=[\'value\', \'pooling_ratio\', \'pseudo_random\', \'overlapping\', \'deterministic\…
1701 …argspec: "args=[\'value\', \'pooling_ratio\', \'pseudo_random\', \'overlapping\', \'deterministic\…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.nn.pbtxt205 …argspec: "args=[\'value\', \'pooling_ratio\', \'pseudo_random\', \'overlapping\', \'deterministic\…
209 …argspec: "args=[\'value\', \'pooling_ratio\', \'pseudo_random\', \'overlapping\', \'deterministic\…
Dtensorflow.raw_ops.pbtxt1693 …argspec: "args=[\'value\', \'pooling_ratio\', \'pseudo_random\', \'overlapping\', \'deterministic\…
1701 …argspec: "args=[\'value\', \'pooling_ratio\', \'pseudo_random\', \'overlapping\', \'deterministic\…
/external/tensorflow/tensorflow/go/op/
Dwrappers.go26526 func FractionalAvgPool(scope *Scope, value tf.Output, pooling_ratio []float32, optional ...Fraction…
26530 attrs := map[string]interface{}{"pooling_ratio": pooling_ratio}
30688 func FractionalMaxPool(scope *Scope, value tf.Output, pooling_ratio []float32, optional ...Fraction…
30692 attrs := map[string]interface{}{"pooling_ratio": pooling_ratio}
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v0.pbtxt12536 name: "pooling_ratio"
12650 name: "pooling_ratio"
Dops_history.v2.pbtxt26932 name: "pooling_ratio"
27046 name: "pooling_ratio"