为您找到相关结果105,537个
GCN 图神经网络使用详解 可视化 Pytorch_python_脚本之家
# Gather some statistics about the graph. print(f'Number of nodes: {data.num_nodes}') print(f'Number of edges: {data.num_edges}') print(f'Average node degree: {data.num_edges / data.num_nodes:.2f}') print(f'Number of training nodes: {data.train_mask.sum()}') print(f'Training...
www.jb51.net/article/2702...htm 2025-1-26
tensorflow estimator 使用hook实现finetune方式_python_脚本之家
# ops can no longer be added to the graph. print('Session created.') tf.logging.info('Fine-tuning from %s' % self.checkpoint_path) self.saver.restore(session, os.path.expanduser(self.checkpoint_path)) tf.logging.info('End fineturn from %s' % self.checkpoint_path) def before_run(self...
www.jb51.net/article/1789...htm 2025-2-6
Pytorch中的backward()多个loss函数用法_python_脚本之家
graph leaves.The graph is differentiated using the chain rule. If any of tensors are non-scalar (i.e. their data has more than one element) and require gradient, the function additionally requires specifying grad_tensors. It should be a sequence of matching length, that contains gradient of...
www.jb51.net/article/2131...htm 2025-2-5
PHP生成图表pChart的示例解析_php技巧_脚本之家
$Test->drawBarGraph($DataSet->GetData(),$DataSet->GetDataDescription(),TRUE,80); // Finish the graph //制作图例、标题、字体等属性 $Test->setFontProperties("Fonts/MankSans.ttf",10); $Test->drawLegend(596,150,$DataSet->GetDataDescription(),255,255,255); $Test->setFontProperties("Fonts/Ma...
www.jb51.net/article/1923...htm 2025-1-26
JavaScript图表插件highcharts详解_基础知识_脚本之家
* Request data from the server, add it to the graph and set a timeout to request again */ function requestData() { $.ajax({ url: 'live-server-data.php', success: function(point) { var series = chart.series[0], shift = series.data.length > 20; // shift if the series is long...
www.jb51.net/article/2502...htm 2025-1-20