Home
last modified time | relevance | path

Searched refs:get_dtype (Results 1 – 25 of 274) sorted by relevance

1234567891011

/dports/cad/py-pymtl/pymtl3-3.1.6/pymtl3/passes/backends/yosys/translation/behavioral/
H A DYosysBehavioralTranslatorL1.py142 cur_nbits = node.value.Type.get_dtype().get_length()
168 nbits = node.Type.get_dtype().get_length()
173 nbits = node.Type.get_dtype().get_length()
178 node.sexpr['s_attr'] = s._struct_instance( node.Type.get_dtype(), obj )
216 nbits = subtype.get_dtype().get_length()
223 nbits = node.Type.get_dtype().get_length()
236 if Type.is_packed_indexable() or isinstance(Type.get_dtype(), rdt.Vector):
265 nbits = node.Type.get_dtype().get_length()
H A DYosysBehavioralTranslatorL3.py110 s._struct_instance(node.Type.get_dtype(), obj)
118 elif isinstance( node.value.Type.get_dtype(), rdt.Struct ):
/dports/cad/py-pymtl/pymtl3-3.1.6/pymtl3/passes/rtlir/behavioral/
H A DBehavioralRTLIRTypeCheckL2Pass.py126 if lhs_type != rt.NoneType() and lhs_type.get_dtype() != rhs_type.get_dtype():
133 target.Type = rt.Wire( rhs_type.get_dtype() )
134 s.tmpvars[ tmpvar_id ] = rt.Wire( rhs_type.get_dtype() )
151 dtype = node.cond.Type.get_dtype()
222 if not rdt.Bool()( node.cond.Type.get_dtype() ):
228 if not node.body.Type.get_dtype()( node.orelse.Type.get_dtype() ):
232 lhs_dtype, rhs_dtype = node.body.Type.get_dtype(), node.orelse.Type.get_dtype()
316 l_type = node.left.Type.get_dtype()
317 r_type = node.right.Type.get_dtype()
384 l_type = node.left.Type.get_dtype()
[all …]
H A DBehavioralRTLIRTypeCheckL1Pass.py209 lhs_type = target.Type.get_dtype()
210 rhs_type = node.value.Type.get_dtype()
217 rhs_type = node.value.Type.get_dtype()
273 nbits += child.Type.get_dtype().get_length()
280 old_nbits = child_type.get_dtype().get_length()
291 old_nbits = child_type.get_dtype().get_length()
302 old_nbits = child_type.get_dtype().get_length()
345 dtype = node.Type.get_dtype()
355 idx_nbits = idx.Type.get_dtype().get_length()
399 dtype = node.value.Type.get_dtype()
[all …]
H A DBehavioralRTLIRTypeCheckL3Pass.py36 rhs_type = node.value.Type.get_dtype()
37 lhs_type = target.Type.get_dtype()
71 vector_nbits = node.value.Type.get_dtype().get_length()
87 dtype = node.value.Type.get_dtype()
113 dtype = node.Type.get_dtype()
141 v_dtype = value.Type.get_dtype()
H A DBehavioralRTLIRTypeCheckL5Pass.py45 if isinstance(node.Type, rt.Const) and isinstance(node.Type.get_dtype(), rdt.Vector):
46 node._is_explicit = node.Type.get_dtype().is_explicit()
/dports/cad/py-pymtl/pymtl3-3.1.6/pymtl3/passes/backends/verilog/translation/behavioral/
H A DVBehavioralTranslatorL1.py97 assert isinstance( rtype.get_dtype(), rdt.Vector ), \
281 nbits = node.Type.get_dtype().get_length()
305 current_nbits = int(node.value.Type.get_dtype().get_length())
324 current_nbits = int(node.value.Type.get_dtype().get_length())
382 dtype = node.value.Type.get_dtype()
479 if isinstance( node.Type, rt.Const ) and isinstance( node.Type.get_dtype(), rdt.Vector ):
480 nbits = node.Type.get_dtype().get_length()
534 elif isinstance( Type.get_dtype(), rdt.Vector ):
567 nbits = node.upper.Type.get_dtype().get_length()
593 nbits = node.Type.get_dtype().get_length()
H A DVBehavioralTranslatorL3.py30 if isinstance( rtype.get_dtype(), rdt.Struct ):
72 if isinstance( node.value.Type.get_dtype(), rdt.Struct ):
76 dtype = node.Type.get_dtype()
/dports/cad/py-pymtl/pymtl3-3.1.6/pymtl3/passes/rtlir/structural/
H A DStructuralRTLIRSignalExpr.py79 dtype = base_rtype.get_dtype()
194 dtype = base_rtype.get_dtype()
208 dtype = base_rtype.get_dtype()
242 dtype = base_rtype.get_dtype()
270 dtype = base_rtype.get_dtype()
280 dtype = base_rtype.get_dtype()
303 isinstance(base_rtype.get_dtype(), rdt.Vector):
/dports/science/tfel/tfel-3.4.0/bindings/python/tfel/
H A Dndarray.cxx32 if (a.get_dtype() != boost::python::numpy::dtype::get_builtin<double>()) { in get_data()
39 if (a.get_dtype() != boost::python::numpy::dtype::get_builtin<double>()) { in get_data()
/dports/math/py-pandas/pandas-1.2.5/pandas/core/dtypes/
H A Dcommon.py643 source = get_dtype(source)
644 target = get_dtype(target)
992 tipo = get_dtype(arr_or_dtype)
995 tipo = get_dtype(arr_or_dtype.dtype)
1384 dtype = get_dtype(arr_or_dtype)
1569 dtype = get_dtype(arr_or_dtype)
1575 def get_dtype(arr_or_dtype) -> DtypeObj:
/dports/databases/py-tiledb/tiledb-0.8.11/tiledb/
H A Dnpbuffer.cc40 template <typename T> py::dtype get_dtype(T obj) { in get_dtype() function
281 first_dtype = get_dtype(a); in convert_object()
282 } else if (!dtype_equal(get_dtype(a), first_dtype)) { in convert_object()
357 first_dtype = get_dtype(obj_h); in convert_iter()
365 auto cur_dtype = get_dtype(obj_h); in convert_iter()
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/window/
H A Dtest_dtypes.py15 def get_dtype(dtype, coerce_int=None): function
65 s = Series(data, dtype=get_dtype(dtypes, coerce_int=coerce_int))
123 df = DataFrame(np.arange(10).reshape((5, 2)), dtype=get_dtype(dtypes))
/dports/math/arpack-ng/arpack-ng-3.8.0/EXAMPLES/PYARPACK/
H A DpyarpackServices.hpp99 …if (iArray.get_dtype() != bn::dtype::get_builtin<a_int>()) {pyarpackThrowError(msg + "[1] type i… in buildSparseMatrice()
100 …if (jArray.get_dtype() != bn::dtype::get_builtin<a_int>()) {pyarpackThrowError(msg + "[2] type i… in buildSparseMatrice()
101 …if (mijArray.get_dtype() != bn::dtype::get_builtin<RC>() ) {pyarpackThrowError(msg + "[3] type i… in buildSparseMatrice()
154 …if (mijArray.get_dtype() != bn::dtype::get_builtin<RC>()) {pyarpackThrowError(msg + " type is not … in buildDenseMatrice()
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/lib/include/uhdlib/experts/
H A Dexpert_nodes.hpp54 virtual const std::string& get_dtype() const = 0;
152 virtual const std::string& get_dtype() const in get_dtype() function in uhd::experts::data_node_t
345 + " but got " + node().get_dtype()); in data_accessor_base()
521 virtual const std::string& get_dtype() const in get_dtype() function in uhd::experts::worker_node_t
/dports/devel/boost-docs/boost_1_72_0/libs/python/example/numpy/
H A Dwrap.cpp52 if (array.get_dtype() != np::dtype::get_builtin<double>()) { in wrap_fill1()
83 if (array.get_dtype() != np::dtype::get_builtin<double>()) { in wrap_fill2()
/dports/devel/boost-python-libs/boost_1_72_0/libs/python/example/numpy/
H A Dwrap.cpp52 if (array.get_dtype() != np::dtype::get_builtin<double>()) { in wrap_fill1()
83 if (array.get_dtype() != np::dtype::get_builtin<double>()) { in wrap_fill2()
/dports/devel/boost-libs/boost_1_72_0/libs/python/example/numpy/
H A Dwrap.cpp52 if (array.get_dtype() != np::dtype::get_builtin<double>()) { in wrap_fill1()
83 if (array.get_dtype() != np::dtype::get_builtin<double>()) { in wrap_fill2()
/dports/devel/hyperscan/boost_1_75_0/libs/python/example/numpy/
H A Dwrap.cpp52 if (array.get_dtype() != np::dtype::get_builtin<double>()) { in wrap_fill1()
83 if (array.get_dtype() != np::dtype::get_builtin<double>()) { in wrap_fill2()
/dports/cad/py-pymtl/pymtl3-3.1.6/pymtl3/passes/backends/verilog/translation/structural/
H A DVStructuralTranslatorL1.py100 _dtype = Type.get_dtype()
118 _dtype = Type.get_dtype()
145 _dtype = Type.get_dtype()
/dports/science/py-chainer/chainer-7.8.0/chainer/datasets/
H A Dimage_dataset.py85 self._dtype = chainer.get_dtype(dtype)
151 self._dtype = chainer.get_dtype(dtype)
271 self._dtype = chainer.get_dtype(dtype)
/dports/cad/py-pymtl/pymtl3-3.1.6/pymtl3/passes/backends/generic/structural/
H A DStructuralTranslatorL1.py212 s.rtlir_data_type_translation( m, port_rtype.get_dtype() )
230 s.rtlir_data_type_translation( m, wire_rtype.get_dtype() )
254 s.rtlir_data_type_translation( m, const_rtype.get_dtype() ),
341 dtype = expr.get_rtype().get_dtype()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/pymoab/pymoab/
H A Dtag.pyx39 def get_dtype(self): member in Tag
57 dtype = self.get_dtype()
/dports/devel/py-tinyarray/tinyarray-1.2.4/src/
H A Darray.hh128 friend Dtype get_dtype(PyObject *obj);
144 inline Dtype get_dtype(PyObject *obj) in get_dtype() function
/dports/devel/boost-docs/boost_1_72_0/libs/python/doc/numpy/tutorial/
H A Ddtype.rst31 We can also print the dtypes of the data members of the ndarray by using the get_dtype method for t…
33 std::cout << "Datatype is:\n" << p::extract<char const *>(p::str(a.get_dtype())) << std::endl ;

1234567891011