Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/graph/
Dquantize_training.cc345 Tensor one_tensor(DT_INT32, TensorShape()); in MakeReductionAxes() local
346 one_tensor.flat<int32>()(0) = 1; in MakeReductionAxes()
350 .Attr("value", one_tensor) in MakeReductionAxes()
374 Tensor one_tensor(DT_FLOAT, TensorShape()); in MakeExponentialMovingAverage() local
375 one_tensor.flat<float>()(0) = 1.0; in MakeExponentialMovingAverage()
379 .Attr("value", one_tensor) in MakeExponentialMovingAverage()
/external/tensorflow/tensorflow/python/ops/
Dnn_ops.py4447 one_tensor = constant_op.constant(1, dtype=x_dtype)
4448 ret = gen_math_ops.real_div(x, gen_math_ops.sub(one_tensor, rate))