Searched refs:maybe_constant (Results 1 – 2 of 2) sorted by relevance
40 xla::StatusOr<absl::optional<Tensor>> maybe_constant = in ConvertCompileTimeConstArgumentsToConst() local42 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()
132 def maybe_constant(val): function136 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))