Home
last modified time | relevance | path

Searched refs:format_tag (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_pooling_ops_common.h49 memory::format_tag src_format;
57 memory::format_tag src_format, memory::desc src_md, in MklPoolingParams()
93 memory::format_tag GetSrcMemoryFormat() const { return context_.src_fmt; } in GetSrcMemoryFormat()
94 memory::format_tag GetDstMemoryFormat() const { return context_.dst_fmt; } in GetDstMemoryFormat()
107 memory::format_tag src_fmt;
108 memory::format_tag dst_fmt;
109 memory::format_tag ws_fmt;
137 : src_fmt(memory::format_tag::any), in PoolingFwdContext()
138 dst_fmt(memory::format_tag::any), in PoolingFwdContext()
139 ws_fmt(memory::format_tag::any), in PoolingFwdContext()
[all …]
Dmkl_matmul_op_fused.cc112 memory::format_tag src_format = memory::format_tag::nc; in Compute()
113 memory::format_tag weight_format = in Compute()
114 transpose_b_ ? memory::format_tag::oi : memory::format_tag::io; in Compute()
121 (this->is_weight_const_) ? memory::format_tag::any : weight_format, in Compute()
122 memory::format_tag::nc); in Compute()
180 mkldnn::memory::format_tag::x); in Compute()
Dmkl_concat_op.cc243 memory::format_tag mkl_common_format;
247 memory::format_tag mkl_common_format) in MklConcatFwdParams()
595 memory::format_tag mkl_common_format = memory::format_tag::any; in Compute()
645 mkl_common_format = memory::format_tag::nchw; in Compute()
647 mkl_common_format = memory::format_tag::nc; in Compute()
665 memory::format_tag::undef); in Compute()
682 mkl_common_format == memory::format_tag::nc) { in Compute()
869 memory::format_tag FindMklCommonFormat(const MklDnnShapeList& input_shapes, in FindMklCommonFormat()
876 if (input_shapes.size() == 0) return memory::format_tag::any; in FindMklCommonFormat()
890 return static_cast<memory::format_tag>( in FindMklCommonFormat()
[all …]
Dmkl_conv_grad_filter_ops.cc205 memory::format_tag user_data_fmt; in Setup()
213 user_data_fmt = memory::format_tag::any; in Setup()
223 memory::format_tag::any)); in Setup()
228 memory::format_tag::x)); in Setup()
271 memory::format_tag::x}, in Setup()
437 OP_REQUIRES(context, mkl_fmt_tag != memory::format_tag::undef, in Compute()
667 memory::format_tag GetOutputFormat(const memory::format_tag data_format) { in GetOutputFormat()
669 ? memory::format_tag::hwigo in GetOutputFormat()
670 : ((this->strides_.size() == 4) ? memory::format_tag::hwio in GetOutputFormat()
671 : memory::format_tag::dhwio); in GetOutputFormat()
Dmkl_quantize_op.cc341 memory::format_tag dst_layout_type; in Compute()
347 dst_layout_type = memory::format_tag::x; in Compute()
350 dst_layout_type = memory::format_tag::nc; in Compute()
353 dst_layout_type = memory::format_tag::tnc; in Compute()
356 dst_layout_type = memory::format_tag::nhwc; in Compute()
359 dst_layout_type = memory::format_tag::ndhwc; in Compute()
Dmkl_conv_grad_input_ops.cc182 memory::format_tag user_data_fmt; in Setup()
190 user_data_fmt = memory::format_tag::any; in Setup()
198 memory::format_tag::any)); in Setup()
393 OP_REQUIRES(context, mkl_fmt_tag != memory::format_tag::undef, in Compute()
404 ? memory::format_tag::hwigo in Compute()
405 : (is_conv2d ? memory::format_tag::hwio in Compute()
406 : memory::format_tag::dhwio)); in Compute()
Dmkl_requantize_per_channel_op.cc104 memory::format_tag::nhwc); in Compute()
108 memory::format_tag::nhwc) in Compute()
110 memory::format_tag::nhwc); in Compute()
Dmkl_pooling_ops_common.cc50 : memory::format_tag::any)); in Setup()
59 context_.dst_fmt = static_cast<memory::format_tag>(memory::format_tag::any); in Setup()
139 memory::format_tag::any)); in Setup()
144 : memory::format_tag::any)); in Setup()
Dmkl_aggregate_ops.cc167 memory::format_tag dnn_fmt = memory::format_tag::any; in Compute()
187 memory::format_tag::undef); in Compute()
Dmkl_dequantize_op.cc87 memory::format_tag::nhwc); in Compute()
103 memory::format_tag::nhwc); in Compute()
Dmkl_fused_batch_norm_op.cc215 new memory({{s_dims}, MklDnnType<U>(), memory::format_tag::nc}, in Setup()
221 new memory({{m_dims}, MklDnnType<U>(), memory::format_tag::nc}, in Setup()
225 new memory({{m_dims}, MklDnnType<U>(), memory::format_tag::nc}, in Setup()
529 memory::format_tag::nc); in Setup()
531 memory::format_tag::nc); in Setup()
533 memory::format_tag::nc); in Setup()
751 memory::format_tag dnn_fmt; in Compute()
755 dnn_fmt = memory::format_tag::nchw; in Compute()
758 dnn_fmt = memory::format_tag::nhwc; in Compute()
1141 memory::format_tag dnn_fmt; in Compute()
[all …]
Dmkl_lrn_op.cc138 src_dnn_data.SetOpMemDesc(input_dims, memory::format_tag::nhwc); in Compute()
143 dst_dnn_data.SetOpMemDesc(input_dims, memory::format_tag::nhwc); in Compute()
386 memory::format_tag::nhwc); in Compute()
391 output_dnn_data.SetOpMemDesc(orig_input_dims, memory::format_tag::nhwc); in Compute()
487 memory::format_tag::nhwc); in ConfigureInputGradient()
Dmkl_conv_ops.cc210 memory::format_tag user_data_fmt; in Setup()
215 user_data_fmt = memory::format_tag::any; in Setup()
222 memory::format_tag::any)); in Setup()
230 memory::format_tag::any)); in Setup()
296 {{convFwdDims.bias_dims}, MklDnnType<Tbias>(), memory::format_tag::x}, in Setup()
601 OP_REQUIRES(context, mkl_fmt_tag != memory::format_tag::undef, in Compute()
620 auto filter_format = is_conv2d ? (is_depthwise ? memory::format_tag::hwigo in Compute()
621 : memory::format_tag::hwio) in Compute()
622 : memory::format_tag::dhwio; in Compute()
899 OP_REQUIRES(context, output_format_tag != memory::format_tag::undef, in AllocateOutputTensor()
[all …]
Dmkl_avgpooling_op.cc117 static_cast<memory::format_tag>(this->data_format_mkldnn_), input_md, in Compute()
247 static_cast<memory::format_tag>(this->data_format_mkldnn_), src_md, in Compute()
Dmkl_dequantize_op_test.cc68 memory::desc({1, 2, 2, 2}, MklDnnType<uint8>(), memory::format_tag::nhwc); in CreateMklInput()
Dmkl_maxpooling_op.cc142 static_cast<memory::format_tag>(this->data_format_mkldnn_), input_md, in Compute()
301 static_cast<memory::format_tag>(this->data_format_mkldnn_), src_md, in Compute()
Dmkl_relu_op.cc465 memory::format_tag::undef); in Compute()
622 memory::format_tag::undef); in Compute()
624 memory::format_tag::undef); in Compute()
671 memory::format_tag::undef); in Compute()
Dmkl_qmatmul_op.cc202 auto input_output_fmt = memory::format_tag::nc; in Compute()
220 memory::format_tag::io); in Compute()
Dmkl_matmul_ops_common.h193 memory::format_tag::any)); in Setup()
273 memory::format_tag::x}, in Setup()
/external/tensorflow/tensorflow/core/util/
Dmkl_util.h174 memory::format_tag MklTensorFormatToMklDnnDataFormat(MklTensorFormat format);
186 const memory::format_tag& tag) {
187 if (tag == memory::format_tag::undef) {
189 } else if (tag == memory::format_tag::any) {
475 auto format_tag = in GetTfLayout() local
477 DCHECK_NE(format_tag, memory::format_tag::undef); in GetTfLayout()
478 return memory::desc(dims, data_.T_, format_tag); in GetTfLayout()
1008 inline memory::format_tag MklTensorFormatToMklDnnDataFormat( in MklTensorFormatToMklDnnDataFormat()
1010 if (format == MklTensorFormat::FORMAT_NHWC) return memory::format_tag::nhwc; in MklTensorFormatToMklDnnDataFormat()
1011 if (format == MklTensorFormat::FORMAT_NCHW) return memory::format_tag::nchw; in MklTensorFormatToMklDnnDataFormat()
[all …]
Dmkl_types.h80 #define MEMORY_FORMAT mkldnn::memory::format_tag
82 #define MEMORY_FORMAT_UNDEF mkldnn::memory::format_tag::undef
/external/freetype/src/truetype/
Dttobjs.c646 if ( face->format_tag != 0x00010000L && /* MS fonts */ in tt_face_init()
647 face->format_tag != 0x00020000L && /* CJK fonts for Win 3.1 */ in tt_face_init()
648 face->format_tag != TTAG_true && /* Mac fonts */ in tt_face_init()
649 face->format_tag != TTAG_0xA5kbd && /* `Keyboard.dfont' (legacy Mac OS X) */ in tt_face_init()
650 face->format_tag != TTAG_0xA5lst ) /* `LastResort.dfont' (legacy Mac OS X) */ in tt_face_init()
/external/freetype/src/sfnt/
Dttload.c371 if ( FT_READ_ULONG( sfnt.format_tag ) || in tt_face_load_font_dir()
385 FT_TRACE2(( "-- Format version: 0x%08lx\n", sfnt.format_tag )); in tt_face_load_font_dir()
387 if ( sfnt.format_tag != TTAG_OTTO ) in tt_face_load_font_dir()
410 face->format_tag = sfnt.format_tag; in tt_face_load_font_dir()
/external/freetype/include/freetype/internal/
Dtttypes.h109 FT_ULong format_tag; member
1468 FT_ULong format_tag; member
/external/webrtc/modules/audio_device/win/
Dcore_audio_utility_win.cc162 const char* WaveFormatTagToString(WORD format_tag) { in WaveFormatTagToString() argument
163 switch (format_tag) { in WaveFormatTagToString()

12