टेंसरफ़्लो:: ऑप्स:: FakeQuantWithMinMaxArgs
#include <array_ops.h>'इनपुट' टेंसर को नकली मात्राबद्ध करें, उसी प्रकार के 'आउटपुट' टेंसर पर फ़्लोट टाइप करें।
सारांश
गुण
-  [min; max]inputsडेटा के लिए क्लैंपिंग रेंज को परिभाषित करें।
-  inputsमानों को क्वांटिज़ेशन रेंज में परिमाणित किया जाता है ([0; 2^num_bits - 1]जबnarrow_rangeगलत है और[1; 2^num_bits - 1]जब यह सत्य है) और फिर डी-क्वांटाइज़ किया जाता है और आउटपुट को[min; max]अंतराल।
-  num_bitsपरिमाणीकरण की बिटविड्थ है; 2 और 16 के बीच, सम्मिलित।
 परिमाणीकरण से पहले, min और max मानों को निम्नलिखित तर्क के साथ समायोजित किया जाता है। min <= 0 <= max रखने का सुझाव दिया गया है। यदि 0 मानों की सीमा में नहीं है, तो व्यवहार अप्रत्याशित हो सकता है:
-  यदि 0 < min < max:min_adj = 0औरmax_adj = max - min।
-  यदि min < max < 0:min_adj = min - maxऔरmax_adj = 0।
-  यदि min <= 0 <= max:scale = (max - min) / (2^num_bits - 1),min_adj = scale * round(min / scale)औरmax_adj = max + min_adj - min।
परिमाणीकरण को नकली कहा जाता है क्योंकि आउटपुट अभी भी फ्लोटिंग पॉइंट में है।
तर्क:
- स्कोप: एक स्कोप ऑब्जेक्ट
रिटर्न:
-  Output: आउटपुट टेंसर।
| निर्माता और विध्वंसक | |
|---|---|
| FakeQuantWithMinMaxArgs (const :: tensorflow::Scope & scope, :: tensorflow::Input inputs) | |
| FakeQuantWithMinMaxArgs (const :: tensorflow::Scope & scope, :: tensorflow::Input inputs, const FakeQuantWithMinMaxArgs::Attrs & attrs) | 
| सार्वजनिक गुण | |
|---|---|
| operation | |
| outputs | |
| सार्वजनिक समारोह | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| सार्वजनिक स्थैतिक कार्य | |
|---|---|
| Max (float x) | |
| Min (float x) | |
| NarrowRange (bool x) | |
| NumBits (int64 x) | |
| संरचनाएँ | |
|---|---|
| टेंसरफ़्लो:: ऑप्स:: FakeQuantWithMinMaxArgs:: Attrs | FakeQuantWithMinMaxArgs के लिए वैकल्पिक विशेषता सेटर्स। | 
सार्वजनिक गुण
संचालन
Operation operation
आउटपुट
::tensorflow::Output outputs
सार्वजनिक समारोह
FakeQuantWithMinMaxArgs
FakeQuantWithMinMaxArgs( const ::tensorflow::Scope & scope, ::tensorflow::Input inputs )
FakeQuantWithMinMaxArgs
FakeQuantWithMinMaxArgs( const ::tensorflow::Scope & scope, ::tensorflow::Input inputs, const FakeQuantWithMinMaxArgs::Attrs & attrs )
नोड
::tensorflow::Node * node() const
ऑपरेटर::टेन्सरफ़्लो::इनपुट
operator::tensorflow::Input() const
ऑपरेटर::टेन्सरफ़्लो::आउटपुट
operator::tensorflow::Output() const
सार्वजनिक स्थैतिक कार्य
अधिकतम
Attrs Max( float x )
मिन
Attrs Min( float x )
संकीर्ण रेंज
Attrs NarrowRange( bool x )
संख्या बिट्स
Attrs NumBits( int64 x )