Home
last modified time | relevance | path

Searched refs:IsFinite (Results 1 – 25 of 94) sorted by relevance

1234

/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dgpu_op_is_finite.cc23 GENERATE_UNARY_GPU_KERNEL2(IsFinite, DT_HALF, DT_BOOL);
24 REGISTER_GPU_KERNEL(IsFinite, DT_HALF, DT_BOOL);
25 GENERATE_UNARY_GPU_KERNEL2(IsFinite, DT_FLOAT, DT_BOOL);
26 REGISTER_GPU_KERNEL(IsFinite, DT_FLOAT, DT_BOOL);
27 GENERATE_UNARY_GPU_KERNEL2(IsFinite, DT_DOUBLE, DT_BOOL);
28 REGISTER_GPU_KERNEL(IsFinite, DT_DOUBLE, DT_BOOL);
/external/webrtc/rtc_base/units/
Dunit_base.h44 constexpr bool IsFinite() const { return !IsInfinite(); } in IsFinite() function
72 RTC_DCHECK(IsFinite()); in RoundTo()
73 RTC_DCHECK(resolution.IsFinite()); in RoundTo()
79 RTC_DCHECK(IsFinite()); in RoundUpTo()
80 RTC_DCHECK(resolution.IsFinite()); in RoundUpTo()
86 RTC_DCHECK(IsFinite()); in RoundDownTo()
87 RTC_DCHECK(resolution.IsFinite()); in RoundDownTo()
137 RTC_DCHECK(IsFinite()); in ToValue()
150 return IsFinite() ? value_ : fallback_value; in ToValueOr()
156 RTC_DCHECK(IsFinite()); in ToFraction()
[all …]
Dunit_base_unittest.cc100 EXPECT_FALSE(TestUnit::PlusInfinity().IsFinite()); in TEST()
101 EXPECT_FALSE(TestUnit::MinusInfinity().IsFinite()); in TEST()
102 EXPECT_TRUE(TestUnit::FromKilo(-kValue).IsFinite()); in TEST()
103 EXPECT_TRUE(TestUnit::FromKilo(kValue).IsFinite()); in TEST()
104 EXPECT_TRUE(TestUnit::Zero().IsFinite()); in TEST()
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DIsFinite.pbtxt2 name: "IsFinite"
24 name: "IsFinite"
47 name: "IsFinite"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DIsFinite.pbtxt2 name: "IsFinite"
24 name: "IsFinite"
47 name: "IsFinite"
/external/tensorflow/tensorflow/core/api_def/java_api/
Dapi_def_IsFinite.pbtxt2 graph_op_name: "IsFinite"
4 name: "math.IsFinite"
/external/protobuf/src/google/protobuf/stubs/
Dmathlimits.h133 static bool IsFinite(const Type x);
172 static bool IsFinite(const Type /*x*/) { return true; } \
250 static bool IsFinite(const Type x) { return _finite(x); } \
257 static bool IsFinite(const Type x) { return !ISINF(x) && !ISNAN(x); } \
Dmathutil.h129 if (!MathLimits<T>::IsFinite(x) || !MathLimits<T>::IsFinite(y)) { in WithinFractionOrMargin()
/external/webrtc/api/units/
Ddata_rate_unittest.cc62 EXPECT_FALSE(DataRate::Infinity().IsFinite()); in TEST()
63 EXPECT_TRUE(DataRate::BitsPerSec(kValue).IsFinite()); in TEST()
64 EXPECT_TRUE(DataRate::Zero().IsFinite()); in TEST()
187 EXPECT_TRUE((large_size / data_rate).IsFinite()); in TEST()
188 EXPECT_TRUE((large_size / time_delta).IsFinite()); in TEST()
Ddata_size_unittest.cc49 EXPECT_FALSE(DataSize::Infinity().IsFinite()); in TEST()
50 EXPECT_TRUE(DataSize::Bytes(kValue).IsFinite()); in TEST()
51 EXPECT_TRUE(DataSize::Zero().IsFinite()); in TEST()
Dfrequency_unittest.cc52 EXPECT_FALSE(Frequency::PlusInfinity().IsFinite()); in TEST()
53 EXPECT_FALSE(Frequency::MinusInfinity().IsFinite()); in TEST()
54 EXPECT_TRUE(Frequency::Hertz(kValue).IsFinite()); in TEST()
55 EXPECT_TRUE(Frequency::Zero().IsFinite()); in TEST()
Dtime_delta_unittest.cc74 EXPECT_FALSE(TimeDelta::PlusInfinity().IsFinite()); in TEST()
75 EXPECT_FALSE(TimeDelta::MinusInfinity().IsFinite()); in TEST()
76 EXPECT_TRUE(TimeDelta::Millis(-kValue).IsFinite()); in TEST()
77 EXPECT_TRUE(TimeDelta::Millis(kValue).IsFinite()); in TEST()
78 EXPECT_TRUE(TimeDelta::Zero().IsFinite()); in TEST()
Dtimestamp_unittest.cc64 EXPECT_FALSE(Timestamp::PlusInfinity().IsFinite()); in TEST()
65 EXPECT_FALSE(Timestamp::MinusInfinity().IsFinite()); in TEST()
66 EXPECT_TRUE(Timestamp::Millis(kValue).IsFinite()); in TEST()
/external/webrtc/rtc_base/task_utils/
Drepeating_task.cc43 RTC_DCHECK(delay.IsFinite()); in Run()
58 RTC_DCHECK(next_run_time_.IsFinite()); in Stop()
/external/webrtc/modules/pacing/
Dbitrate_prober.cc132 if (!config_.abort_delayed_probes && next_probe_time_.IsFinite() && in NextProbeTime()
149 if (config_.abort_delayed_probes && next_probe_time_.IsFinite() && in CurrentCluster()
212 RTC_CHECK(cluster.started_at.IsFinite()); in CalculateNextProbeTime()
/external/webrtc/api/transport/
Dnetwork_types.cc51 if (fb.receive_time.IsFinite()) { in ReceivedWithSendInfo()
77 if (fb.receive_time.IsFinite()) { in SortedByReceiveTime()
/external/webrtc/test/pc/e2e/
Dtest_activities_executor.cc55 RTC_CHECK(initial_delay_since_start.IsFinite() && in ScheduleActivity()
58 (interval->IsFinite() && *interval > TimeDelta::Zero())); in ScheduleActivity()
/external/webrtc/test/scenario/
Dstats_collection.cc121 if (last_render_time_.IsFinite()) { in HandleRenderedFrame()
122 RTC_DCHECK(sample.render_time.IsFinite()); in HandleRenderedFrame()
169 if (last_update_.IsFinite()) { in AddStats()
Dscenario.cc77 if (start_time_.IsFinite()) in ~Scenario()
103 if (interval.IsFinite()) in CreatePrinter()
111 if (config.transport.state_log_interval.IsFinite()) { in CreateClient()
315 RTC_DCHECK(start_time_.IsFinite()); in Stop()
/external/protobuf/src/google/protobuf/util/internal/
Djson_objectwriter.cc121 if (MathLimits<double>::IsFinite(value)) { in RenderDouble()
131 if (MathLimits<float>::IsFinite(value)) { in RenderFloat()
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_IsFinite.pbtxt2 graph_op_name: "IsFinite"
/external/tensorflow/tensorflow/core/kernels/mlir_generated/op_definitions/
Dis_finite.mlir.tmpl3 %0 = "tf.IsFinite"(%arg0) : (tensor<*xelem_type>) -> tensor<*xoutput_type>
/external/webrtc/modules/congestion_controller/goog_cc/
Dgoog_cc_network_control.cc55 if (rate && rate->IsFinite()) { in GetBpsOrDefault()
123 RTC_DCHECK(config.constraints.at_time.IsFinite()); in GoogCcNetworkController()
214 last_packet_received_time_.IsFinite() && !feedback_max_rtts_.empty()) { in OnProcessInterval()
434 if (max_feedback_rtt.IsFinite()) { in OnTransportPacketsFeedback()
460 if (feedback_min_rtt.IsFinite()) { in OnTransportPacketsFeedback()
574 max_feedback_rtt.IsFinite()) { in OnTransportPacketsFeedback()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_IsFinite.pbtxt2 graph_op_name: "IsFinite"
/external/webrtc/api/test/network_emulation/
Dnetwork_emulation_interfaces.h82 RTC_DCHECK(first_packet_received_time.IsFinite()); in AverageReceiveRate()
83 RTC_DCHECK(last_packet_received_time.IsFinite()); in AverageReceiveRate()

1234