Home
last modified time | relevance | path

Searched refs:out_type (Results 1 – 25 of 71) sorted by relevance

123

/external/deqp/modules/gles31/scripts/
Dgen-implicit-conversions.py340 def __init__(self, name, op, in_type, out_type, reverse=False): argument
350 self.out_type = out_type
389 assert self.out_type in operands
390 return operands[self.out_type]
400 out.append(valuesToStr("output %s out0" % (self.out_type), self.out_type, out_values))
406 def __init__(self, name, op, in_type, out_type, reverse=False): argument
407 super(ComparisonsCase, self).__init__(name, op, in_type, out_type, reverse)
443 def __init__(self, name, in_type, out_type, reverse=False, input_in_parens=False): argument
446 self.out_type = out_type
488 return IN_VALUES[self.out_type][ndx]
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_serialization_ops_test.py70 out_type=dtypes.string): argument
73 serialized = serialize_fn(sp_input, out_type=out_type)
94 out_type=dtypes.string): argument
97 serialized = serialize_fn(sp_input, out_type=out_type)
127 self, serialize_fn, deserialize_fn, out_type=dtypes.string): argument
131 serialized0 = serialize_fn(sp_input0, out_type=out_type)
132 serialized1 = serialize_fn(sp_input1, out_type=out_type)
160 out_type=dtypes.string): argument
163 serialized = serialize_fn(sp_input, out_type=out_type)
203 out_type=dtypes.string): argument
[all …]
Ddecode_raw_op_test.py34 decode = parsing_ops.decode_raw(in_bytes, out_type=dtypes.uint8)
52 decode = parsing_ops.decode_raw(in_bytes, out_type=dtypes.int16)
68 in_bytes, out_type=dtypes.int32, little_endian=True)
70 in_bytes, out_type=dtypes.int32, little_endian=False)
79 decode = parsing_ops.decode_raw(in_bytes, out_type=dtypes.float16)
90 decode = parsing_ops.decode_raw(in_bytes, out_type=dtypes.float16)
99 decode = parsing_ops.decode_raw(in_bytes, out_type=dtypes.uint16)
Dcast_op_test.py226 for out_type in out_types:
230 y = math_ops.saturate_cast(x, dtype=out_type)
231 self.assertEqual(y.dtype, out_type)
233 correct = np.maximum(out_type.min, np.minimum(out_type.max, x))
Dstring_to_number_op_test.py36 input_string, out_type=tf_type)
/external/gemmlowp/meta/generators/
Dcommon.py94 def SpecializeMulKernel(self, in_type, out_type, kernel_m, kernel_n, argument
98 in_type, out_type, self.kernel_name, self.output_stream_name, kernel_m,
107 ], ['%s*' % out_type, 'result']], 'inline void')
111 self.EmitMultiply(in_type, out_type, kernel_m, kernel_n, pack_size)
122 def SpecializeTransform1DKernel(self, in_type, out_type, kernel_size, argument
126 in_type, out_type, self.kernel_name, kernel_size, leftovers
132 ['%s*' % out_type, 'output']], 'inline void')
135 self.EmitTransform(in_type, out_type, kernel_size, leftovers)
Dtransform_kernels_common.py38 def Check(self, in_type, out_type, kernel_size, leftovers): argument
40 assert out_type is 'uint8_t'
82 def Check(self, in_type, out_type, kernel_size, leftovers): argument
84 assert out_type is 'float'
151 def Check(self, in_type, out_type, kernel_size, leftovers): argument
153 assert out_type is 'uint8_t'
220 def Check(self, in_type, out_type, kernel_size, leftovers): argument
222 assert out_type is 'uint8_t'
313 def EmitTransform(self, in_type, out_type, kernel_size, leftovers): argument
315 self.transformation.Check(in_type, out_type, kernel_size, leftovers)
[all …]
/external/tensorflow/tensorflow/contrib/layers/python/ops/
Dsparse_feature_cross_op.py84 out_type = dtypes.int64 if hashed_output else dtypes.string
106 out_type=out_type,
118 out_type=out_type,
/external/tensorflow/tensorflow/python/ops/
Darray_ops.py264 def shape(input, name=None, out_type=dtypes.int32): argument
286 return shape_internal(input, name, optimize=True, out_type=out_type)
289 def shape_internal(input, name=None, optimize=True, out_type=dtypes.int32): argument
307 return gen_math_ops.cast(input.dense_shape, out_type)
313 return constant(input_shape.as_list(), out_type, name=name)
314 return gen_array_ops.shape(input, name=name, out_type=out_type)
318 def shape_n(input, out_type=dtypes.int32, name=None): argument
333 output = gen_array_ops.shape_n(input, out_type=out_type, name=name)
340 input_shape.as_list(), dtype=out_type, name=name)
345 def size(input, name=None, out_type=dtypes.int32): argument
[all …]
Dsparse_ops.py423 out_type = dtypes.int64 if hashed_output else dtypes.string
443 out_type=out_type,
1427 def serialize_sparse(sp_input, name=None, out_type=dtypes.string): argument
1449 out_type=out_type)
1453 def serialize_many_sparse(sp_input, name=None, out_type=dtypes.string): argument
1484 out_type=out_type)
/external/tensorflow/tensorflow/core/kernels/
Dcwise_ops_common.h83 typedef typename Functor::out_type Tout; // Output scalar data type.
198 typedef typename Functor::out_type Tout; // Output scalar data type.
229 typedef typename Functor::out_type Tout; // Output scalar data type.
291 typedef typename Functor::out_type Tout;
301 typedef typename Functor::out_type Tout;
309 typename TTypes<typename Functor::out_type, NDIMS>::Tensor out,
347 typedef typename Functor::out_type Tout;
357 typedef typename Functor::out_type Tout;
385 typename TTypes<typename Functor::out_type, NDIMS>::Tensor out,
487 typedef typename Functor::out_type Tout;
[all …]
Dcast_op_test.cc55 DataType out_type = DataTypeToEnum<OUTPUT>::v(); in CheckCast() local
56 MakeOp(in_type, out_type); in CheckCast()
60 Tensor expected(allocator(), out_type, TensorShape({1, 2, 2, 1})); in CheckCast()
Dmatmul_op.h31 out_type; typedef
49 const Device& d, typename MatMulTypes<T>::out_type out,
Dcwise_ops_gpu_common.cu.h61 typedef typename Functor::out_type Tout;
71 typedef typename Functor::out_type Tout;
79 typename TTypes<typename Functor::out_type, NDIMS>::Tensor out,
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ParseTensor.pbtxt12 A Tensor of type `out_type`.
16 name: "out_type"
Dapi_def_DecodeRaw.pbtxt14 of `bytes` divided by the number of bytes to represent `out_type`.
21 Ignored for `out_type` values that are stored in a single byte like
Dapi_def_SerializeSparse.pbtxt22 name: "out_type"
Dapi_def_StringToNumber.pbtxt10 name: "out_type"
/external/mesa3d/src/compiler/nir/
Dnir_opcodes.py113 def unop_convert(name, out_type, in_type, const_expr): argument
114 opcode(name, 0, out_type, [0], [in_type], "", const_expr)
343 def binop_convert(name, out_type, in_type, alg_props, const_expr): argument
344 opcode(name, 0, out_type, [0, 0], [in_type, in_type], alg_props, const_expr)
352 def binop_horiz(name, out_size, out_type, src1_size, src1_type, src2_size, argument
354 opcode(name, out_size, out_type, [src1_size, src2_size], [src1_type, src2_type],
/external/tensorflow/tensorflow/python/data/util/
Dsparse.py130 sparse_ops.serialize_many_sparse(tensor, out_type=dtypes.variant)
148 sparse_ops.serialize_sparse(tensor, out_type=dtypes.variant)
/external/toolchain-utils/crosperf/
Dresults_report.py266 out_type = TablePrinter.HTML
268 out_type = TablePrinter.PLAIN
270 out_type = TablePrinter.CONSOLE
272 out_type = TablePrinter.TSV
274 out_type = TablePrinter.EMAIL
278 printers = (TablePrinter(table, out_type) for table in tables)
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c225 int out_type; member
2201 int out_type = FT_OTHER; in do_scsi_device_read_write() local
2320 out_type = dd_filetype(outf); in do_scsi_device_read_write()
2322 if ((FT_BLOCK & out_type) && do_blk_sgio) in do_scsi_device_read_write()
2323 out_type |= FT_SG; in do_scsi_device_read_write()
2325 if (FT_ST == out_type) { in do_scsi_device_read_write()
2329 } else if (FT_SG & out_type) { in do_scsi_device_read_write()
2347 } else if (FT_DEV_NULL & out_type) in do_scsi_device_read_write()
2350 if (FT_RAW != out_type) { in do_scsi_device_read_write()
2353 if (do_odir && (FT_BLOCK == out_type)) in do_scsi_device_read_write()
[all …]
/external/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp1419 glsl_base_type out_type; in visit() local
1421 out_type = ir->type->base_type; in visit()
1423 out_type = GLSL_TYPE_FLOAT; in visit()
1615 result = type_is_float(out_type) ? nir_fadd(&b, srcs[0], srcs[1]) in visit()
1619 result = type_is_float(out_type) ? nir_fsub(&b, srcs[0], srcs[1]) in visit()
1623 result = type_is_float(out_type) ? nir_fmul(&b, srcs[0], srcs[1]) in visit()
1627 if (type_is_float(out_type)) in visit()
1629 else if (out_type == GLSL_TYPE_INT) in visit()
1635 result = type_is_float(out_type) ? nir_fmod(&b, srcs[0], srcs[1]) in visit()
1639 if (type_is_float(out_type)) in visit()
[all …]
/external/boringssl/src/ssl/
Ddtls_record.cc177 enum ssl_open_record_t dtls_open_record(SSL *ssl, uint8_t *out_type, in dtls_open_record() argument
270 *out_type = type; in dtls_open_record()
/external/boringssl/src/crypto/evp/
Devp_asn1.c78 static int parse_key_type(CBS *cbs, int *out_type) { in parse_key_type() argument
88 *out_type = method->pkey_id; in parse_key_type()

123