Conozca lo último en aprendizaje automático, IA generativa y más en el
Simposio WiML 2023.
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
tensorflow :: operaciones :: DepthwiseConv2dNative :: Atributos
#include <nn_ops.h>
Establecedores de atributos opcionales para DepthwiseConv2dNative .
Resumen
Funciones publicas |
---|
DataFormat (StringPiece x) | Especifique el formato de datos de los datos de entrada y salida. |
Dilations (const gtl::ArraySlice< int > & x) | Tensor 1-D de longitud 4. |
Atributos públicos
StringPiece tensorflow::ops::DepthwiseConv2dNative::Attrs::data_format_ = "NHWC"
dilataciones_
gtl::ArraySlice< int > tensorflow::ops::DepthwiseConv2dNative::Attrs::dilations_ = Default_dilations()
Funciones publicas
TF_MUST_USE_RESULT Attrs tensorflow::ops::DepthwiseConv2dNative::Attrs::DataFormat(
StringPiece x
)
Especifique el formato de datos de los datos de entrada y salida.
Con el formato predeterminado "NHWC", los datos se almacenan en el orden de: [lote, alto, ancho, canales]. Alternativamente, el formato podría ser "NCHW", el orden de almacenamiento de datos de: [lote, canales, altura, ancho].
El valor predeterminado es "NHWC"
Dilataciones
TF_MUST_USE_RESULT Attrs tensorflow::ops::DepthwiseConv2dNative::Attrs::Dilations(
const gtl::ArraySlice< int > & x
)
Tensor 1-D de longitud 4.
El factor de dilatación para cada dimensión de input
. Si se establece en k> 1, habrá k-1 celdas omitidas entre cada elemento de filtro en esa dimensión. El orden de las dimensiones está determinado por el valor de data_format
; consulte más arriba para obtener más detalles. Las dilataciones en las dimensiones del lote y profundidad deben ser 1.
El valor predeterminado es [1, 1, 1, 1].
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2020-04-20 (UTC)
[null,null,["Última actualización: 2020-04-20 (UTC)"],[],[],null,["# tensorflow::ops::DepthwiseConv2dNative::Attrs Struct Reference\n\ntensorflow::ops::DepthwiseConv2dNative::Attrs\n=============================================\n\n`#include \u003cnn_ops.h\u003e`\n\nOptional attribute setters for [DepthwiseConv2dNative](/versions/r2.2/api_docs/cc/class/tensorflow/ops/depthwise-conv2d-native#classtensorflow_1_1ops_1_1_depthwise_conv2d_native).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------------------------------------|--------------------------|\n| [data_format_](#structtensorflow_1_1ops_1_1_depthwise_conv2d_native_1_1_attrs_1a0d029aaf29f51127d2da6466b8103ead)` = \"NHWC\"` | `StringPiece` |\n| [dilations_](#structtensorflow_1_1ops_1_1_depthwise_conv2d_native_1_1_attrs_1a4e35a2333d2bb5228f4251202d78c0e1)` = Default_dilations()` | `gtl::ArraySlice\u003c int \u003e` |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DataFormat](#structtensorflow_1_1ops_1_1_depthwise_conv2d_native_1_1_attrs_1a447e7c3e583e72979fb2ec601f68db73)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/depthwise-conv2d-native/attrs#structtensorflow_1_1ops_1_1_depthwise_conv2d_native_1_1_attrs) Specify the data format of the input and output data. |\n| [Dilations](#structtensorflow_1_1ops_1_1_depthwise_conv2d_native_1_1_attrs_1aa73e4b11fe5a09060f449fcc49c63ba8)`(const gtl::ArraySlice\u003c int \u003e & x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/depthwise-conv2d-native/attrs#structtensorflow_1_1ops_1_1_depthwise_conv2d_native_1_1_attrs) 1-D tensor of length 4. |\n\nPublic attributes\n-----------------\n\n### data_format_\n\n```scdoc\nStringPiece tensorflow::ops::DepthwiseConv2dNative::Attrs::data_format_ = \"NHWC\"\n``` \n\n### dilations_\n\n```scdoc\ngtl::ArraySlice\u003c int \u003e tensorflow::ops::DepthwiseConv2dNative::Attrs::dilations_ = Default_dilations()\n``` \n\nPublic functions\n----------------\n\n### DataFormat\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::DepthwiseConv2dNative::Attrs::DataFormat(\n StringPiece x\n)\n``` \nSpecify the data format of the input and output data.\n\nWith the default format \"NHWC\", the data is stored in the order of: \\[batch, height, width, channels\\]. Alternatively, the format could be \"NCHW\", the data storage order of: \\[batch, channels, height, width\\].\n\nDefaults to \"NHWC\" \n\n### Dilations\n\n```gdscript\nTF_MUST_USE_RESULT Attrs tensorflow::ops::DepthwiseConv2dNative::Attrs::Dilations(\n const gtl::ArraySlice\u003c int \u003e & x\n)\n``` \n1-D tensor of length 4.\n\nThe dilation factor for each dimension of `input`. If set to k \\\u003e 1, there will be k-1 skipped cells between each filter element on that dimension. The dimension order is determined by the value of `data_format`, see above for details. Dilations in the batch and depth dimensions must be 1.\n\nDefaults to \\[1, 1, 1, 1\\]"]]