Home
last modified time | relevance | path

Searched refs:in_mask (Results 1 – 10 of 10) sorted by relevance

/third_party/mindspore/tests/st/ops/cpu/
Dtest_dropout_grad_op.py44 in_mask = Tensor(np.array([[[1., 0, 0]], [[1., 1., 0]]]), mstype.float32)
46 output = dropout_grad(in_tensor, in_mask)
61 in_mask = Tensor(np.array([[[1., 0, 0]], [[1., 1., 0]]]), mstype.float16)
63 output = dropout_grad(in_tensor, in_mask)
79 in_mask = Tensor(np.array([[[1., 0, 0], [1., 0, 0]], \
82 output = dropout_grad(in_tensor, in_mask)
98 in_mask = Tensor(np.array([[1.]]), mstype.float32)
100 output = dropout_grad(in_tensor, in_mask)
116 in_mask = Tensor(np.array([[]]), mstype.float32)
118 output = dropout_grad(in_tensor, in_mask)
[all …]
/third_party/gstreamer/gstplugins_base/gst/audioconvert/
Dgstaudioconvert.c552 guint64 in_mask = 0, out_mask = 0; in gst_audio_convert_fixate_channels() local
593 gst_structure_get (ins, "channel-mask", GST_TYPE_BITMASK, &in_mask, NULL); in gst_audio_convert_fixate_channels()
597 in_mask = in gst_audio_convert_fixate_channels()
614 gst_structure_set (outs, "channel-mask", GST_TYPE_BITMASK, in_mask, NULL); in gst_audio_convert_fixate_channels()
619 if (in_mask == out_mask) in gst_audio_convert_fixate_channels()
635 intersection = in_mask & out_mask; in gst_audio_convert_fixate_channels()
637 gst_structure_set (outs, "channel-mask", GST_TYPE_BITMASK, in_mask, in gst_audio_convert_fixate_channels()
/third_party/iptables/include/linux/netfilter/
Dxt_physdev.h16 char in_mask[IFNAMSIZ]; member
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_nir_passes.h65 d3d12_fix_io_uint_type(struct nir_shader *s, uint64_t in_mask, uint64_t out_mask);
Dd3d12_nir_passes.c606 d3d12_fix_io_uint_type(struct nir_shader *s, uint64_t in_mask, uint64_t out_mask) in d3d12_fix_io_uint_type() argument
609 !(s->info.inputs_read & in_mask)) in d3d12_fix_io_uint_type()
614 while (in_mask) { in d3d12_fix_io_uint_type()
615 int slot = u_bit_scan64(&in_mask); in d3d12_fix_io_uint_type()
Dd3d12_compiler.cpp1042 uint64_t in_mask = nir->info.stage == MESA_SHADER_VERTEX ? in d3d12_create_shader() local
1049 d3d12_fix_io_uint_type(nir, in_mask, out_mask); in d3d12_create_shader()
/third_party/iptables/extensions/
Dlibxt_physdev.c48 (unsigned char *)info->in_mask); in physdev_parse()
/third_party/alsa-lib/src/pcm/
Dpcm_rate.c317 uint64_t in_mask = rate->in_formats; in choose_preferred_format() local
321 if (!in_mask || !out_mask) in choose_preferred_format()
325 if (in_mask & out_mask & (1ULL << rate->orig_in_format)) in choose_preferred_format()
329 in = get_best_format(in_mask, rate->orig_in_format); in choose_preferred_format()
338 else if (in_mask & (1ULL << out)) in choose_preferred_format()
341 in_mask &= ~(1ULL << in); in choose_preferred_format()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c781 uint64_t in_mask = UINT64_C(1) << (uint64_t) in_io_sem.location; in analyze_shader_before_culling_walk() local
783 nogs_state->inputs_needed_by_pos |= in_mask; in analyze_shader_before_culling_walk()
785 nogs_state->inputs_needed_by_others |= in_mask; in analyze_shader_before_culling_walk()
/third_party/ffmpeg/libavfilter/
Dvf_v360.c4107 int in_mask, out_mask; in v360_slice() local
4119in_mask = s->in_transform(s, vec, in_height, in_width, rmap.v, rmap.u, &du, &dv); in v360_slice()
4121in_mask = s->in_transform(s, vec, in_width, in_height, rmap.u, rmap.v, &du, &dv); in v360_slice()
4128 mask8[0] = 255 * (out_mask & in_mask); in v360_slice()
4130 mask16[0] = max_value * (out_mask & in_mask); in v360_slice()