تينسورفلو :: العمليات :: متعدد الحدود :: أترس
#include <random_ops.h>
محددات السمات الاختيارية لـ Multinomial .
ملخص
السمات العامة | |
---|---|
output_dtype_ = DT_INT64 | DataType |
seed2_ = 0 | int64 |
seed_ = 0 | int64 |
الوظائف العامة | |
---|---|
OutputDtype (DataType x) | TF_MUST_USE_RESULT Attrs افتراضات على DT_INT64. |
Seed (int64 x) | TF_MUST_USE_RESULT Attrs إذا تم تعيين البذرة أو البذرة 2 على أن تكون غير صفرية ، فسيتم زرع مولد الأرقام العشوائية الداخلية بواسطة البذرة المحددة. |
Seed2 (int64 x) | TF_MUST_USE_RESULT Attrs بذرة ثانية لتجنب اصطدام البذور. |
السمات العامة
الإخراج_dtype_
DataType tensorflow::ops::Multinomial::Attrs::output_dtype_ = DT_INT64
البذور 2_
int64 tensorflow::ops::Multinomial::Attrs::seed2_ = 0
بذرة_
int64 tensorflow::ops::Multinomial::Attrs::seed_ = 0
الوظائف العامة
نوع الإخراج
TF_MUST_USE_RESULT Attrs tensorflow::ops::Multinomial::Attrs::OutputDtype( DataType x )
افتراضات على DT_INT64.
بذرة
TF_MUST_USE_RESULT Attrs tensorflow::ops::Multinomial::Attrs::Seed( int64 x )
إذا تم تعيين البذرة أو البذرة 2 على أن تكون غير صفرية ، فسيتم زرع مولد الأرقام العشوائية الداخلية بواسطة البذرة المحددة.
خلاف ذلك ، يتم استخدام بذرة عشوائية.
افتراضات على 0
البذور 2
TF_MUST_USE_RESULT Attrs tensorflow::ops::Multinomial::Attrs::Seed2( int64 x )
بذرة ثانية لتجنب اصطدام البذور.
افتراضات على 0
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-21 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"لا يحتوي على المعلومات التي أحتاج إليها."
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"الخطوات معقدة للغاية / كثيرة جدًا."
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"المحتوى قديم."
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"ثمة مشكلة في الترجمة."
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غير ذلك"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"يسهُل فهم المحتوى."
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"ساعَدني المحتوى في حلّ مشكلتي."
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غير ذلك"
}]