Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dif_while_utils.cc40 xla::StatusOr<absl::optional<Tensor>> maybe_constant = in ConvertCompileTimeConstArgumentsToConst() local
42 if (maybe_constant.ok() && maybe_constant.ValueOrDie().has_value()) { in ConvertCompileTimeConstArgumentsToConst()
58 arg->constant_value = std::move(maybe_constant.ValueOrDie().value()); in ConvertCompileTimeConstArgumentsToConst()
63 std::move(maybe_constant.ValueOrDie().value())); in ConvertCompileTimeConstArgumentsToConst()
/external/tensorflow/tensorflow/python/ops/signal/
Dshape_ops.py132 def maybe_constant(val): function
136 signal_shape, signal_shape_is_static = maybe_constant(
138 axis, axis_is_static = maybe_constant(axis)
183 subframe_length, _ = maybe_constant(util_ops.gcd(frame_length, frame_step))