The shape argument in https://github.com/tensorflow/tensorflow/blob/master/tensorflow/models/rnn/ptb/ptb_word_lm.py#L123 should be a tensor ( [-1] instead of -1). Otherwise, the example does not run.
Activity
rafaljozefowicz commentedon Nov 10, 2015
Thanks for the report. We'll update the code.
vrv commentedon Nov 10, 2015
Fixed in the source in 41930f0. Will be also pushed out in the next binary release.
Merge pull request tensorflow#52 from lissyx/merge-r1.5
Merge pull request tensorflow#52 from ROCmSoftwarePlatform/deven_unit…
Merge pull request tensorflow#52 from nightingalei/SupportTimLite2
PR #74845: Adds TfLite Stablehlo Shift Left and Stablehlo And Operations
PR #74845: Adds TfLite Stablehlo Shift Left and Stablehlo And Operations
PR #74845: Adds TfLite Stablehlo Shift Left and Stablehlo And Operations
PR #74845: Adds TfLite Stablehlo Shift Left and Stablehlo And Operations
TfLite stablehlo add and_op (#52) (#81)