1. 23 2月, 2019 38 次提交
  2. 22 2月, 2019 2 次提交
    • B
      Be more consistent in handling bound methods in AutoGraph fallback pathway · a2bb5db1
      Brian Lee 提交于
      PiperOrigin-RevId: 235184105
      a2bb5db1
    • J
      Improve documentation and error message for tf.split · 9d508106
      James Keeling 提交于
      This function previously stated that it could accept a rank-0 Tensor as its `num_or_size_splits` argument. This is in fact not correct: TF graphs must have a static number of output tensors for any operation, so the number of splits has to be known statically or we cannot validate the correctness of the graph.
      
      This method will now raise a ValueError if called with a rank-0 Tensor. I also make the documentation more explicit. Strangely, the test was testing for the incorrect behaviour, so I also fixed that.
      
      PiperOrigin-RevId: 235157900
      9d508106