- 23 2月, 2021 9 次提交
-
-
由 Allen Lavoie 提交于
This is a common source of confusion; the public docstring for tf.function is pretty good, but the internal documentation has been quite sparse. PiperOrigin-RevId: 358837475 Change-Id: I961dfa70ca8f73c7641a376b09015f5a938050f1
-
由 Raman Sarokin 提交于
PiperOrigin-RevId: 358833393 Change-Id: I9d788fd74503d43f458aa212ec81c3fc222e05dd
-
由 Scott Wegner 提交于
While looping through the parent frames, the loop variable was never updated. As a result, each loop iteration did the exact same check, and in the end we still return the current frame. This fix correctly captures the `parent` frame on each loop iteration. PiperOrigin-RevId: 358832374 Change-Id: I4ccf4cf634b64c56fb008cca6f60a009c57ada86
-
由 Rahul Joshi 提交于
- Change custom call thunk to accept an optional slice for each argument and result. - The slice will not be present when the corresponding arg or result of the custom call is a token type. - When the slice is not present, pass in a nullptr for that position in the buffers passed into the custom call. PiperOrigin-RevId: 358831157 Change-Id: Ib9051b52a45095394349ac68af5b61fa16bc0447
-
由 A. Unique TensorFlower 提交于
Also update vulkan_headers to ec2db85225ab410bc6829251bef6c578aaed5868, which fixes some of the previous unguarded references to assert(). Tested: bazel build @vulkan_headers//... PiperOrigin-RevId: 358830383 Change-Id: I25546d4525c5b384cd27a6897cee99870997c934
-
由 Rahul Joshi 提交于
- Handle custom calls with token type by explicitly dropping the token inputs or results and remembering the mapping of the LMHLO arg/results to the original XLA:HL arg and results. This is required because the custom call ultimately expects arguments as defined in XLA:HLO. PiperOrigin-RevId: 358828332 Change-Id: Ie1230f2384aff98b1ab5814292d7b047fd0dcbff
-
由 Eric Spishak-Thomas 提交于
The zip file entries had real timestamps, which were inconsistent across builds. Passing a ZipInfo uses fixed timestamps. And, the report.html file in the zip file contained nondeterministic tmp file paths, so this replaces those paths with a placeholder so the output is deterministic. PiperOrigin-RevId: 358828255 Change-Id: Id6866922505164f1561ceb4c035cf9f6c17a3f60
-
由 Rahul Joshi 提交于
- XLA:HLO -> LMHLO conversion drops all token arguments and return values, however custom calls that users write still expect to get buffer pointers for these token types. - To be able to support this, add an optional call target argument mapping attribute to LMHLO custom calls. When this attribute is present, it indicates the number of arguments and returns that the custom call expects and also indicates which LMHLO arg() or output() maps to which arg or result number of the custom call. PiperOrigin-RevId: 358826664 Change-Id: I36e839e9ff5b73890715b71717a4c13631955fba
-
由 A. Unique TensorFlower 提交于
PiperOrigin-RevId: 358826589 Change-Id: I5acabb9db1bd8ed9ba88d393e25491a5c6ff0b97
-
- 22 2月, 2021 14 次提交
-
-
由 TensorFlower Gardener 提交于
PiperOrigin-RevId: 358809940 Change-Id: I1c516ac35f1b649b45d87f2d3eef7ac35b82a66d
-
由 Jean-Baptiste Lespiau 提交于
PiperOrigin-RevId: 358808768 Change-Id: Ib4e568121dc07c54d850e8fa5dd4e30f4540b4eb
-
由 Benjamin Kramer 提交于
This just blows up everything to ranked (up to 6) and is probably quite slow. This is sufficient to make kernelgen compile SelectV2. PiperOrigin-RevId: 358777728 Change-Id: Ibbd8c24e07b47a432904354541ba0bbb6429cbd1
-
由 Taehee Jeong 提交于
When scale got different because of downcast, in rare cases it's possible for zero point to be also modified. PiperOrigin-RevId: 358766756 Change-Id: Iaf83086b0f48177900af26656eb3064bdc6efdad
-
由 A. Unique TensorFlower 提交于
PiperOrigin-RevId: 358764977 Change-Id: I0723873de31eb5637e1cb6f028e00f6dc8ffa6cd
-
由 A. Unique TensorFlower 提交于
PiperOrigin-RevId: 358764974 Change-Id: I6262768f6179528378491ca775626964df7affbd
-
由 A. Unique TensorFlower 提交于
PiperOrigin-RevId: 358764677 Change-Id: I7026ac8570c0c62c8c62d2f8ab4afd8b236ea3da
-
由 Renjie Liu 提交于
PiperOrigin-RevId: 358744654 Change-Id: I932d8ab7bc973d03dfa2854f75842abd5e321685
-
由 Scott Zhu 提交于
PiperOrigin-RevId: 358744545 Change-Id: I6586d4986ed5777b2f7130d757c9638996bef789
-
由 Renjie Liu 提交于
PiperOrigin-RevId: 358736975 Change-Id: If576c43feedd160d969d7a6881890501a63cc110
-
由 A. Unique TensorFlower 提交于
We approximate it with: expm1 = tanh(x/2)*(exp(x)+1) Additional care is taken to handle the case when x/2 underflows but x does not by simply approximating the result with x itself. This suffices to get us within a relative error of 5e-7 or about nine ULPs when compared against libm. PiperOrigin-RevId: 358736039 Change-Id: I53a49e929edab1e3ba671b62b3d27495888c5011
-
由 David Majnemer 提交于
We approximate it with: expm1 = tanh(x/2)*(exp(x)+1) Additional care is taken to handle the case when x/2 underflows but x does not by simply approximating the result with x itself. This suffices to get us within a relative error of 5e-7 or about nine ULPs when compared against libm. PiperOrigin-RevId: 358734815 Change-Id: Iac7e397efc9a547299c7c9b7f932fcbb622ea842
-
由 Karim Nosir 提交于
PiperOrigin-RevId: 358711627 Change-Id: I5606b935b2f2e4e063c2b57e148772b2425488a8
-
由 Scott Zhu 提交于
PiperOrigin-RevId: 358705824 Change-Id: Id5ba77394d99fe33521ba65e8d8d571a6ef0fb16
-
- 21 2月, 2021 17 次提交
-
-
由 A. Unique TensorFlower 提交于
PiperOrigin-RevId: 358651976 Change-Id: Idaea72dffa4c0f6b41c981d3654822799f0b5c0c
-
由 A. Unique TensorFlower 提交于
PiperOrigin-RevId: 358651970 Change-Id: I60dd1ecef73fb9eabf6adb5d715fb2e5b414eea5
-
由 Yuefeng Zhou 提交于
PiperOrigin-RevId: 358651724 Change-Id: Ia66fd8780e874fe7da96a153b763deb135886e95
-
由 Bixia Zheng 提交于
Remove a NodeDef parameter from a few routines. PiperOrigin-RevId: 358637036 Change-Id: Id7c911684e0866737b964feebeffbe30e064e671
-
由 Renjie Liu 提交于
PiperOrigin-RevId: 358626694 Change-Id: I81da84cbed8a579a978452c973e5f0427764e7c1
-
由 Renjie Liu 提交于
PiperOrigin-RevId: 358625154 Change-Id: Idd05505190d538d8e101a8209567c777c10a4434
-
由 Renjie Liu 提交于
PiperOrigin-RevId: 358625098 Change-Id: I16599700f7e3927948b1c90c88426cec915dfc89
-
由 Renjie Liu 提交于
PiperOrigin-RevId: 358624802 Change-Id: Ibb83fe391adf109aaffd2e012ad11f75dab6299c
-
由 Renjie Liu 提交于
PiperOrigin-RevId: 358623335 Change-Id: Iebef1615799ca81177a944e8129ce8e07094fd60
-
由 Renjie Liu 提交于
This is blocking the uinidirectional_sequence_lstm shape inference. PiperOrigin-RevId: 358623334 Change-Id: Idc0bac03ce61f269908abf91d3437f334b6f47cd
-
由 Jacques Pienaar 提交于
It is expensive to grab the file:line:col address when just parsing type. PiperOrigin-RevId: 358611715 Change-Id: I5af18a0d462876d02731764cc1c356005188dd44
-
由 Jacques Pienaar 提交于
This results in a blow up due to uniquing tuple types intermediate values. PiperOrigin-RevId: 358611399 Change-Id: I4e24a7c3d7afc1d5ad3fc9cd7dc432ba58b6ecf1
-
由 Rick Chao 提交于
PiperOrigin-RevId: 358610480 Change-Id: Idbd564c664e8a3d7e62404e1aafe9bc85994129b
-
由 Rick Chao 提交于
PiperOrigin-RevId: 358610102 Change-Id: I0c86858cf82bf9cd81c989309c308507d9016ef5
-
由 Jian Li 提交于
Relax the symmetric quantization constrain on int16 input for Quantize. There are other valid use cases that have non-zero zero point. PiperOrigin-RevId: 358605601 Change-Id: I3102d1419cfc237fd465df264dd336e8041f2aad
-
由 Renjie Liu 提交于
PiperOrigin-RevId: 358603186 Change-Id: I53afbd10a16a5d22784d4fb9c128213494881bd6
-
由 Renjie Liu 提交于
PiperOrigin-RevId: 358602910 Change-Id: I2355fa696cd674d3119e5006a32e78b8a5666e4e
-