全文搜索
标题搜索
全部时间
1小时内
1天内
1周内
1个月内
默认排序
按时间排序
为您找到相关结果105,537个

SpringBoot使用CommandLineRunner接口完成资源初始化方式_java_脚本之...

* {@code @DependsOn} declarations (influencing a runtime-determined dependency graph). * * Since Spring 4.1, the standard {@link javax.annotation.Priority} annotation * can be used as a drop-in replacement for this annotation in ordering scenarios. * Note that {@code @Priority} may have a...
www.jb51.net/article/2751...htm 2025-1-13

Python使用py2neo操作图数据库neo4j的方法详解_python_脚本之家

graph.push(ali) 在定义节点类时还可以定义其相关的关系,例如通过RelatedTo()定义从该节点指出的关系,RelatedFrom()定义指向该节点的关系。通过对象调用关系的对应的方法完成节点周围的关系操作,例如add()添加关系,clear()清除节点所有的关系,get()获取关系属性,remove()清楚指定的关系,update()更新关系 1 2 3 4...
www.jb51.net/article/1783...htm 2025-2-6

浅谈tensorflow模型保存为pb的各种姿势_python_脚本之家

input_graph_def=input_graph_def,# 等于:sess.graph_def output_node_names=output_node_names.split(","))# 如果有多个输出节点,以逗号隔开 with tf.gfile.GFile(output_graph, "wb") as f: #保存模型 f.write(output_graph_def.SerializeToString()) #序列化输出 print("%d ops in the final graph....
www.jb51.net/article/1872...htm 2025-1-31

C++ Cartographer源码中关于MapBuilder的声明与构造_C 语言_脚本之家

这个函数没处理啥, 直接返回了由Local(前端)和PoseGraph(后端)组合出来的GlobalTrajectoryBuilder. 而GlobalTrajectoryBuilder有着自己个构造函数, 起到了初始化赋值的作用. 所以我们可以说GlobalTrajectoryBuilder才是完整的SLAM, 链接了前端和后端. 另外提一嘴, 由于LocalTrajectoryBuilder和GlobalTrajectoryBuilder都继承自ma...
www.jb51.net/article/2795...htm 2025-1-16

pytorch .detach() .detach_() 和 .data用于切断反向传播的实现_python...

"""Returns a new Variable, detached from the current graph. Result will never require gradient. If the input is volatile, the output will be volatile too. .. note:: Returned Variable uses the same data tensor, as the original one, and ...
www.jb51.net/article/1773...htm 2025-1-17

keras模型保存为tensorflow的二进制模型方式_python_脚本之家

@param clear_devices Remove the device directives from the graph for better portability. @return The frozen graph definition. """ from tensorflow.python.framework.graph_util import convert_variables_to_constants graph = session.graph with graph.as_default(): freeze_var_names = list(set(v.op.na...
www.jb51.net/article/1872...htm 2025-2-3

利用Spring Boot和JPA创建GraphQL API_java_脚本之家

在resources文件夹中,创建一个扩展名为“.graphqls”的文件,全名为“location.graphqls”。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 //Define the Entity attribute type Location { id: ID! name: String! address: String! } type Query { ...
www.jb51.net/article/2462...htm 2025-1-24

使用Pytorch Geometric进行链接预测的实现代码_python_脚本之家

# For every graph convolution in the network... for conv in self.layers: # ... perform node embedding via message passing h = conv(h, edge_index) h = self.act_f(h) if self.dropout: h = nn.functional.dropout(h, p=self.dropout, training=self.training) return h 这个模型中值得注意...
www.jb51.net/python/302392t...htm 2025-2-8

Python算法之图的遍历_python_脚本之家

# Walking Through a Connected Component of a Graph Represented Using Adjacency Sets def walk(G, s, S=set()): # Walk the graph from node s P, Q = dict(), set() # Predecessors + "to do" queue P[s] = None # s has no predecessor Q.add(s) # We plan on starting with s whil...
www.jb51.net/article/1284...htm 2025-1-26

TensorFlow中如何确定张量的形状实例_python_脚本之家

1135# Create a fetch handler to take care of the structure of fetches. 1136fetch_handler=_FetchHandler( ->1137self._graph, fetches, feed_dict_tensor, feed_handles=feed_handles) 1138 1139# Run request and get response. ~\Anaconda3\lib\site-packages\tensorflow\python\client\session.pyin__init...
www.jb51.net/article/1893...htm 2025-1-19