摘要:
tf.nn.sigmoid_cross_entropy_with_logits sigmoid_cross_entropy_with_logits( _sentinel=None, labels=None, logits=None, name=None ) 功能说明: 先对 logits 通过 si 阅读全文
摘要:
unstaged changes 建好仓库,连接到git之后,在上传代码的时候发现有一些代码是unstaged changes状态。这样的文件是没法上传到git上去的。解决方法是给这些文件增加index 原因是:虽然这些文件在本地创建好了,但是没有同步到local的仓库上。增加index将之同步到本 阅读全文
摘要:
描述:做一个如图所示的篮球比赛记分板。 <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/ 阅读全文
摘要:
任务:做这样一个界面,选择数量,自动计算价格。超级简单。。 <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.androi 阅读全文
摘要:
学习到一种使用 RelativeLayout 设置背景图片的方法, 效果如图: <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://sche 阅读全文
摘要:
答案来自 stack flow 修改: res -> values -> style.xml style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar" 这对我来说是有效的。 阅读全文
摘要:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" andr 阅读全文
摘要:
做一个如图所示的布局。 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="matc 阅读全文