Op Generated code locally does not match master repository
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 928
- フォーク
- 227
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
My local repository says it is 100% in sync with tensorflow/java master.
I do a mvn clean, mvn install, then all the generated Ops are updated and next it wants me to recommit them.
Either something is wrong on my end, or the master repository is old.
I was expecting the locally generated classes to be the same as the main repository, as I am only working in framework at the moment.
@rnett Would this be something you might have a clue about.
Here is a sample of the delta between the repository and the locally generated classes.
org.tensorflow.op.core.Abort
Stored on Master at tensorflow/java:
public static Abort create(Scope scope, Options... options) {
OperationBuilder opBuilder = scope.env().opBuilder(OP_NAME, scope.makeOpName("Abort"));
opBuilder = scope.apply(opBuilder);
if (options != null) {
Source generated locally:
public static Abort create(Scope scope, Options... options) {
OperationBuilder opBuilder = scope.opBuilder(OP_NAME, "Abort");
if (options != null) {
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
framework で作業しながら mvn clean と mvn install を使って不一致を再現し、生成された org.tensorflow.op.core.Abort クラスを tensorflow/java master repository のバージョンと比較します。Ops を生成する生成ステップを追跡し、repository とローカル生成のどちらが古いのかを判断します。生成されたクラスが master と一致するか、不一致がその原因とともに文書化されていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100