1. 09 7月, 2020 2 次提交
  2. 08 7月, 2020 3 次提交
  3. 07 7月, 2020 4 次提交
  4. 02 7月, 2020 6 次提交
  5. 26 6月, 2020 11 次提交
  6. 24 6月, 2020 8 次提交
  7. 23 6月, 2020 6 次提交
    • S
      Fix input mapping issue when model is constructed/tested with dict input tensor. · 265de523
      Scott Zhu 提交于
      The mapping of the dict input tensors was not correct since it was still using the tensor name, rather than the key of the tensor when build the model. This cause the issue down the stream when the inputs are provided with unknown keys.
      
      We had some backup logic, which will probably do correct things, eg just flat the dict to keep the original order, which was correct most of the case, but not very reliable. In this change, we make the behavior change:
      
      1. When model is build with dict input tensors, the key of the tensor, instead of the name, will be used to map the tensor with input data.
      2. Unknown keys in the input data will result into a warning. We didn't throw error since user might do it intentionally, eg using part of the model to test with full input data.
      
      PiperOrigin-RevId: 317776370
      Change-Id: I91983443f2b770cb0b45ddb7726f52708cb91d61
      265de523
    • R
      [NFC] Re-instate use of FuncOp::isPublic() · e60cf089
      Rahul Joshi 提交于
      PiperOrigin-RevId: 317774876
      Change-Id: I6a832236377d403b1ebd24ecbc26025c37dc1c13
      e60cf089
    • R
      Make cluster_resolver standard property in tf.distribute strategies. · 4d13d641
      Rick Chao 提交于
      PiperOrigin-RevId: 317771299
      Change-Id: I71b5c585cef7bd7ef80e66b75e30287fddcf89e2
      4d13d641
    • P
      [TF-numpy] Adds __rmatmul__ method to ndarray. · e74a115b
      Peng Wang 提交于
      PiperOrigin-RevId: 317771125
      Change-Id: I719c46d97ae1c68ac59dcd1cf8f65d067ddc7658
      e74a115b
    • A
      Remove deprecated AddBuiltin API from MicroMutableOpResolver. · 34b4fab3
      Advait Jain 提交于
      * Added new API hooks for all the OPs currently supported in TFLM.
      * These new APIs still need to be implemented with operator specific parse
        functions but this change allows us to remove the old API and incrementally
        update the implementations.
      
      PiperOrigin-RevId: 317770205
      Change-Id: Idaaa687401f2bac5fbf9925e27c04bf536b154ea
      34b4fab3
    • X
      Refactor eager placement logic into three util methods: · fe6e64b0
      Xiao Yu 提交于
      - MaybePinSmallOpsToCpu
      - MaybePinToResourceDevice
      - MaybePinToCustomDevice
      
      We are going to reuse MaybePinSmallOpsToCpu in TFRT but not the other two. Because TFRT doesn't have native Resource neither Custom Device.
      
      PiperOrigin-RevId: 317766813
      Change-Id: I43241b5786120ddf39dc4bfff6071239afdfd785
      fe6e64b0