Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/
Dquantize_training.cc343 Tensor one_tensor(DT_INT32, TensorShape()); in MakeReductionAxes() local
344 one_tensor.flat<int32>()(0) = 1; in MakeReductionAxes()
348 .Attr("value", one_tensor) in MakeReductionAxes()
372 Tensor one_tensor(DT_FLOAT, TensorShape()); in MakeExponentialMovingAverage() local
373 one_tensor.flat<float>()(0) = 1.0; in MakeExponentialMovingAverage()
377 .Attr("value", one_tensor) in MakeExponentialMovingAverage()
/external/tensorflow/tensorflow/python/ops/
Dnn_ops.py5176 one_tensor = constant_op.constant(1, dtype=x_dtype)
5177 ret = gen_math_ops.real_div(x, gen_math_ops.sub(one_tensor, rate))