Home
last modified time | relevance | path

Searched refs:float_ (Results 1 – 20 of 20) sorted by relevance

/external/python/pybind11/tests/
Dtest_numpy_dtypes.cpp24 float float_; member
29 return os << "s:" << v.bool_ << "," << v.uint_ << "," << v.float_ << "," << v.ldbl_; in operator <<()
34 float float_; member
42 float float_;
47 return os << "p:" << v.bool_ << "," << v.uint_ << "," << v.float_ << "," << v.ldbl_; in operator <<()
62 float float_; member
152 s.float_ = (float) (i) * 1.5f; \
264 PYBIND11_NUMPY_DTYPE(SimpleStruct, bool_, uint_, float_, ldbl_); in TEST_SUBMODULE()
265 PYBIND11_NUMPY_DTYPE(SimpleStructReordered, bool_, uint_, float_, ldbl_); in TEST_SUBMODULE()
266 PYBIND11_NUMPY_DTYPE(PackedStruct, bool_, uint_, float_, ldbl_); in TEST_SUBMODULE()
[all …]
Dtest_pytypes.cpp192 "float"_a=py::float_(), in TEST_SUBMODULE()
205 "float"_a=py::float_(d["float"]), in TEST_SUBMODULE()
220 "float"_a=d["float"].cast<py::float_>(), in TEST_SUBMODULE()
Dtest_numpy_array.py442 dtype = np.dtype(np.float_)
/external/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc126 return FloatingPointToIntConvertAndCheck<int32, float>(float_); in ToInt32()
139 return FloatingPointToIntConvertAndCheck<uint32, float>(float_); in ToUint32()
151 return FloatingPointToIntConvertAndCheck<int64, float>(float_); in ToInt64()
164 return FloatingPointToIntConvertAndCheck<uint64, float>(float_); in ToUint64()
171 return FloatToDouble(float_); in ToDouble()
245 return FloatAsString(float_); in ValueAsStringOrDefault()
347 return NumberConvertAndCheck<To, float>(float_); in GenericConvert()
Ddatapiece.h91 : type_(TYPE_FLOAT), float_(value), use_strict_base64_decoding_(false) {} in DataPiece()
204 float float_; member
/external/tensorflow/tensorflow/python/util/protobuf/
Dcompare_test.py238 pb1.float_ = 1.2314352351231
240 pb2.float_ = 1.231435
241 self.assertNotEqual(pb1.float_, pb2.float_)
244 self.assertEqual(pb1.float_, pb2.float_)
332 pb.float_ = 1.234
481 pb.float_ = 1.234
Dcompare_test.proto31 optional float float_ = 3; field
/external/webrtc/talk/app/webrtc/
Dstatstypes.cc240 value_.float_ = f; in Value()
294 return value_.float_ == other.value_.float_; in Equals()
344 return type_ == kFloat && value_.float_ == value; in operator ==()
363 return value_.float_; in float_val()
609 return rtc::ToString(value_.float_); in ToString()
Dstatstypes.h317 float float_; member
/external/webrtc/webrtc/modules/audio_processing/utility/
Ddelay_estimator_internal.h20 float float_; member
Ddelay_estimator_wrapper.c108 threshold_spectrum[i].float_ = (spectrum[i] / 2); in BinarySpectrumFloat()
116 MeanEstimatorFloat(spectrum[i], kScale, &(threshold_spectrum[i].float_)); in BinarySpectrumFloat()
118 if (spectrum[i] > threshold_spectrum[i].float_) { in BinarySpectrumFloat()
/external/tensorflow/tensorflow/python/autograph/operators/
Dpy_builtins_test.py90 self.assertEqual(py_builtins.float_(10), 10.0)
91 self.assertEqual(py_builtins.float_('10.0'), 10.0)
93 t = py_builtins.float_(constant_op.constant(1, dtype=dtypes.int64))
95 st = py_builtins.float_(constant_op.constant('1.0'))
D__init__.py55 from tensorflow.python.autograph.operators.py_builtins import float_
Dpy_builtins.py182 def float_(x=0): function
472 'float': float_,
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_TemporaryVariable.pbtxt39 var = state_ops._temporary_variable([1, 2], types.float_)
/external/python/pybind11/docs/advanced/pycpp/
Dobject.rst11 :class:`int_`, :class:`float_`, :class:`str`, :class:`bytes`, :class:`tuple`,
/external/python/pybind11/include/pybind11/
Doperators.h155 PYBIND11_UNARY_OPERATOR(float, float_, (double) l)
Dpytypes.h1098 class float_ : public object {
1100 PYBIND11_OBJECT_CVT(float_, object, PyFloat_Check, PyNumber_Float) in PYBIND11_OBJECT_CVT() argument
1102 float_(float value) : object(PyFloat_FromDouble((double) value), stolen_t{}) { in PYBIND11_OBJECT_CVT()
1105 float_(double value = .0) : object(PyFloat_FromDouble((double) value), stolen_t{}) {
/external/jsoncpp/src/test_lib_json/
Dmain.cpp50 Json::Value float_; member
63 real_(1234.56789), float_(0.00390625f), emptyString_(""), string1_("a"), in ValueTest()
/external/angle/third_party/jsoncpp/source/src/test_lib_json/
Dmain.cpp64 Json::Value float_; member
77 real_(1234.56789), float_(0.00390625f), emptyString_(""), string1_("a"), in ValueTest()