上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 96 下一页
摘要: tf.nn.sigmoid_cross_entropy_with_logits sigmoid_cross_entropy_with_logits( _sentinel=None, labels=None, logits=None, name=None ) 功能说明: 先对 logits 通过 si 阅读全文
posted @ 2018-08-23 09:51 超级学渣渣 阅读(1356) 评论(0) 推荐(0) 编辑
摘要: unstaged changes 建好仓库,连接到git之后,在上传代码的时候发现有一些代码是unstaged changes状态。这样的文件是没法上传到git上去的。解决方法是给这些文件增加index 原因是:虽然这些文件在本地创建好了,但是没有同步到local的仓库上。增加index将之同步到本 阅读全文
posted @ 2018-08-17 14:13 超级学渣渣 阅读(738) 评论(0) 推荐(0) 编辑
摘要: 描述:做一个如图所示的篮球比赛记分板。 <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/ 阅读全文
posted @ 2018-08-05 19:23 超级学渣渣 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 任务:做这样一个界面,选择数量,自动计算价格。超级简单。。 <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.androi 阅读全文
posted @ 2018-08-05 16:02 超级学渣渣 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 学习到一种使用 RelativeLayout 设置背景图片的方法, 效果如图: <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://sche 阅读全文
posted @ 2018-08-04 10:31 超级学渣渣 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 答案来自 stack flow 修改: res -> values -> style.xml style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar" 这对我来说是有效的。 阅读全文
posted @ 2018-08-04 00:47 超级学渣渣 阅读(2462) 评论(0) 推荐(0) 编辑
摘要: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" andr 阅读全文
posted @ 2018-08-02 23:14 超级学渣渣 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 做一个如图所示的布局。 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="matc 阅读全文
posted @ 2018-08-02 23:12 超级学渣渣 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 通过id设置相对兄弟元素对齐。 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height=" 阅读全文
posted @ 2018-08-01 19:45 超级学渣渣 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 相对布局,用来设置相对父级视图的位置 阅读全文
posted @ 2018-08-01 15:42 超级学渣渣 阅读(269) 评论(0) 推荐(0) 编辑
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 96 下一页