Searched refs:one_tensor (Results 1 – 2 of 2) sorted by relevance
345 Tensor one_tensor(DT_INT32, TensorShape()); in MakeReductionAxes() local346 one_tensor.flat<int32>()(0) = 1; in MakeReductionAxes()350 .Attr("value", one_tensor) in MakeReductionAxes()374 Tensor one_tensor(DT_FLOAT, TensorShape()); in MakeExponentialMovingAverage() local375 one_tensor.flat<float>()(0) = 1.0; in MakeExponentialMovingAverage()379 .Attr("value", one_tensor) in MakeExponentialMovingAverage()
4447 one_tensor = constant_op.constant(1, dtype=x_dtype)4448 ret = gen_math_ops.real_div(x, gen_math_ops.sub(one_tensor, rate))