How to represent the [variable_scope] and [get_variable] in tensorflow java ?
オープン
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 928
- フォーク
- 227
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
HI :
write the tensorflow code in python ,we always use with the variable_scope and get_variable method , like this
with tf.compat.v1.variable_scope('Qifficulty'):
question_difficulty_weights = tf.compat.v1.get_variable('weights', [q.get_shape()[-1], 1],
initializer= tf.initializers.glorot_uniform(seed=0))
# layers.xavier_initializer(seeed=0))
question_difficulty_biases = tf.compat.v1.get_variable('biases', [1],
initializer=tf.compat.v1.zeros_initializer())
question_difficulty = tf.nn.tanh(tf.matmul(q, question_difficulty_weights) + question_difficulty_biases)
but in java ,we can not use with key word , and I also can not find [variable_scope] and [get_variable] two apis.
I just want to know How to represent the [variable_scope] and [get_variable] in tensorflow java ,could we give me a damo about these?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Issue に示されている Python の variable_scope API と get_variable API に相当するものがないか、TensorFlow Java API のドキュメントを確認してください。要求された変数の作成とスコープ動作をカバーする Java の例を提示し、直接相当するものが存在するかどうかを明確にしてください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, tensorflow
- 領域
- machine-learning
- issue の種類
- ドキュメント
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100