Searched refs:one_tensor (Results 1 – 2 of 2) sorted by relevance
343 Tensor one_tensor(DT_INT32, TensorShape()); in MakeReductionAxes() local344 one_tensor.flat<int32>()(0) = 1; in MakeReductionAxes()348 .Attr("value", one_tensor) in MakeReductionAxes()372 Tensor one_tensor(DT_FLOAT, TensorShape()); in MakeExponentialMovingAverage() local373 one_tensor.flat<float>()(0) = 1.0; in MakeExponentialMovingAverage()377 .Attr("value", one_tensor) in MakeExponentialMovingAverage()
5176 one_tensor = constant_op.constant(1, dtype=x_dtype)5177 ret = gen_math_ops.real_div(x, gen_math_ops.sub(one_tensor, rate))