Merge pull request #10846 from hbrammer/patch-1

Fix Java OperationBuilder documentation example
This commit is contained in:
Yifei Feng 2017-06-20 11:14:39 -07:00 committed by GitHub
commit e3315f31d6

View File

@ -28,7 +28,7 @@ import java.nio.charset.Charset;
* <pre>{@code
* // g is a Graph instance.
* try (Tensor c1 = Tensor.create(3.0f)) {
* g.opBuilder("Constant", "MyConst")
* g.opBuilder("Const", "MyConst")
* .setAttr("dtype", c1.dataType())
* .setAttr("value", c1)
* .build();