זרימת טנסור :: אופ :: Conv2DBackpropInput :: עו"ד
#include <nn_ops.h>
קובעי תכונות אופציונליים עבור Conv2DBackpropInput .
סיכום
תכונות ציבוריות | |
---|---|
data_format_ = "NHWC" | StringPiece |
dilations_ = Default_dilations() | gtl::ArraySlice< int > |
explicit_paddings_ = {} | gtl::ArraySlice< int > |
use_cudnn_on_gpu_ = true | bool |
פונקציות ציבוריות | |
---|---|
DataFormat (StringPiece x) | TF_MUST_USE_RESULT Attrs ציין את פורמט הנתונים של נתוני הקלט והפלט. |
Dilations (const gtl::ArraySlice< int > & x) | TF_MUST_USE_RESULT Attrs טנסור 1-D באורך 4. |
ExplicitPaddings (const gtl::ArraySlice< int > & x) | TF_MUST_USE_RESULT Attrs אם padding הוא "EXPLICIT" , רשימת סכומי הריפוד המפורשים. |
UseCudnnOnGpu (bool x) | TF_MUST_USE_RESULT Attrs ברירת המחדל היא אמת. |
תכונות ציבוריות
פורמט נתונים_
StringPiece tensorflow::ops::Conv2DBackpropInput::Attrs::data_format_ = "NHWC"
התרחבות_
gtl::ArraySlice< int > tensorflow::ops::Conv2DBackpropInput::Attrs::dilations_ = Default_dilations()
ריפודים מפורשים_
gtl::ArraySlice< int > tensorflow::ops::Conv2DBackpropInput::Attrs::explicit_paddings_ = {}
use_cudnn_on_gpu_
bool tensorflow::ops::Conv2DBackpropInput::Attrs::use_cudnn_on_gpu_ = true
פונקציות ציבוריות
פורמט נתונים
TF_MUST_USE_RESULT Attrs tensorflow::ops::Conv2DBackpropInput::Attrs::DataFormat( StringPiece x )
ציין את פורמט הנתונים של נתוני הקלט והפלט.
בפורמט ברירת המחדל "NHWC", הנתונים נשמרים לפי הסדר של: [אצווה, בגובה, ברוחב, בערוצים]. לחלופין, הפורמט יכול להיות "NCHW", סדר אחסון הנתונים של: [אצווה, בערוצים, בגובה, ברוחב].
ברירת המחדל היא "NHWC"
התרחבות
TF_MUST_USE_RESULT Attrs tensorflow::ops::Conv2DBackpropInput::Attrs::Dilations( const gtl::ArraySlice< int > & x )
טנסור 1-D באורך 4.
גורם ההרחבה לכל מימד input
. אם מוגדר כ- k> 1, יהיו תאי דילוג בין k-1 בין כל אלמנט המסנן בממד זה. סדר המימדים נקבע על פי הערך של data_format
, ראה לעיל לפרטים. התרחבות במידת האצווה והעומק חייבת להיות 1.
ברירת המחדל היא [1, 1, 1, 1]
ExplicitPaddings
TF_MUST_USE_RESULT Attrs tensorflow::ops::Conv2DBackpropInput::Attrs::ExplicitPaddings( const gtl::ArraySlice< int > & x )
אם padding
הוא "EXPLICIT"
, רשימת סכומי הריפוד המפורשים.
עבור הממד ה- IH, כמות הריפודים שהוכנסה לפני הממד ואחריו היא ריפודים explicit_paddings[2 * i]
וריפודים explicit_paddings[2 * i + 1]
, בהתאמה. אם padding
אינו "EXPLICIT"
, "EXPLICIT"
explicit_paddings
חייבים להיות ריקים.
ברירת המחדל היא []
UseCudnnOnGpu
TF_MUST_USE_RESULT Attrs tensorflow::ops::Conv2DBackpropInput::Attrs::UseCudnnOnGpu( bool x )
ברירת המחדל היא אמת.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.