1
0
mirror of https://github.com/tensorflow/haskell.git synced 2024-06-02 11:03:34 +02:00
This commit is contained in:
Greg Steuck 2016-11-17 13:43:47 -08:00
parent 252885f414
commit d79391e62b

View File

@ -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