mirror of
https://github.com/tensorflow/haskell.git
synced 2024-06-02 11:03:34 +02:00
gc
This commit is contained in:
parent
252885f414
commit
d79391e62b
|
@ -697,6 +697,5 @@ allDimensions = vector [-1 :: Int32]
|
|||
rangeOfRank :: forall v1 t. TensorType t => Tensor v1 t -> Tensor Value Int32
|
||||
rangeOfRank x = CoreOps.range 0 (CoreOps.rank x) 1
|
||||
|
||||
-- lookupAttr :: NodeDef -> ( -> _
|
||||
lookupAttr :: Attribute a1 => NodeDef -> Text -> a1
|
||||
lookupAttr nodeDef attrName = nodeDef ^. attr . at attrName . non def . attrLens
|
||||
|
|
Loading…
Reference in New Issue
Block a user