mirror of
https://github.com/tensorflow/haskell.git
synced 2024-11-23 03:19:44 +01:00
Uprev tensorflow. (#29)
Includes temporary blacklisting for a couple of ops that will be supported once my fix lands in the main tensorflow repo.
This commit is contained in:
parent
0d4f5a9628
commit
93e27a12c6
3 changed files with 8 additions and 5 deletions
|
@ -99,4 +99,7 @@ blackList =
|
|||
, "_ListToArray"
|
||||
-- Easy: support larger result tuples.
|
||||
, "Skipgram"
|
||||
-- Can be removed after 139136489 is released.
|
||||
, "ResourceGather"
|
||||
, "ResourceScatterAdd"
|
||||
]
|
||||
|
|
|
@ -115,16 +115,16 @@ deleteSessionOptions = {# call TF_DeleteSessionOptions as ^ #}
|
|||
|
||||
|
||||
-- Session.
|
||||
{# pointer *TF_Session as Session newtype #}
|
||||
{# pointer *TF_DeprecatedSession as Session newtype #}
|
||||
|
||||
newSession :: SessionOptions -> Status -> IO Session
|
||||
newSession = {# call TF_NewSession as ^ #}
|
||||
newSession = {# call TF_NewDeprecatedSession as ^ #}
|
||||
|
||||
closeSession :: Session -> Status -> IO ()
|
||||
closeSession = {# call TF_CloseSession as ^ #}
|
||||
closeSession = {# call TF_CloseDeprecatedSession as ^ #}
|
||||
|
||||
deleteSession :: Session -> Status -> IO ()
|
||||
deleteSession = {# call TF_DeleteSession as ^ #}
|
||||
deleteSession = {# call TF_DeleteDeprecatedSession as ^ #}
|
||||
|
||||
extendGraph :: Session -> Ptr () -> CULong -> Status -> IO ()
|
||||
extendGraph = {# call TF_ExtendGraph as ^ #}
|
||||
|
|
2
third_party/tensorflow
vendored
2
third_party/tensorflow
vendored
|
@ -1 +1 @@
|
|||
Subproject commit e1c7e510a569cd5898f08015352bbdc8bef2ff7e
|
||||
Subproject commit 86f5ab7474825da756838b34e1b4eac93f5fc68a
|
Loading…
Reference in a new issue