官方评论显示"这仅对Dropout或BatchNorm等模块有任何影响." 但我不明白它的实施.
pytorch
在ONOS on karaf 3.0.2中,我希望获得当前bundle的BundleContext实例,以跟踪bundle的状态并对其进行配置.但是ONOS使用声明式服务,所以我不能使用函数BundleContext.getServiceReference()来获取它.谁能帮助我?
BundleContext.getServiceReference()
osgi declarative-services osgi-bundle karaf onos
declarative-services ×1
karaf ×1
onos ×1
osgi ×1
osgi-bundle ×1
pytorch ×1