- 博客(5)
- 收藏
- 关注
原创 Spring Boot自动配置流程简明总结
Spring Boot自动化配置原博客地址§ Spring Boot的显著优势使用starter简化依赖配置Spring的自动配置§ starter简化依赖的配置Spring提供了一系列starter来简化Maven配置。当我们在我们的pom文件中增加对某个starter的依赖时,该starter的依赖也会自动的传递性被依赖进来。§ 自动配置Spring Boot...
2020-03-30 15:50:31 455 1
原创 Java线程池中的异常处理
Java线程池中的异常处理原文博客§ 前置知识线程池中的任务有两种,一种有返回值,一种无返回值。通常对应着两种提交任务的方法:submit方法:虽然参数是Runnable,但由于返回值为Future,所以通常传入的参数为FutureTask类的对象。(FutureTask间接实现了Runnable接口和Future接口)public Future<?> submit...
2020-03-26 23:09:32 399
原创 Tensorflow导入成功使用却失效(AttributeError: module 'tensorflow' has no attribute 'xxx_')
Tensorflow导入成功使用却失效(AttributeError: module ‘tensorflow’ has no attribute ‘xxx_’)【错误信息】AttributeError: module 'tensorflow' has no attribute 'xxx_'【解决1】重装pip uninstall tensorflowpip install tenso...
2020-03-26 10:08:56 737
原创 Tensorflow Keras 中input_shape引发的维度顺序冲突问题(NCHW与NHWC)
Tensorflow Keras 中input_shape引发的维度顺序冲突问题(NCHW与NHWC)原文链接:Tensorflow Keras 中input_shape引发的维度顺序冲突问题(NCHW与NHWC)以tf.keras.Sequential构建卷积层为例:tf.keras.layers.Conv2D(10, 3, input_shape=(2, 9, 9),padding='s...
2020-03-11 14:16:28 3769
原创 Spring Boot自定义注解与验证
注解原理与自定义注解1、引入依赖:<!-- https://mvnrepository.com/artifact/javax.validation/validation-api --><dependency> <groupId>javax.validation</groupId> <artifactId>valida...
2020-03-09 14:00:38 374
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人