码迷,mamicode.com
首页 >  
搜索关键字:example    ( 17798个结果)
吴恩达《深度学习》-课后测验-第三门课 结构化机器学习项目(Structuring Machine Learning Projects)-Week1 Bird recognition in the city of Peacetopia (case study)( 和平之城中的鸟类识别(案例研究))
Week1 Bird recognition in the city of Peacetopia (case study)( 和平之城中的鸟类识别(案例研究)) 1.Problem Statement This example is adapted from a real production ap ...
分类:系统相关   时间:2020-01-06 13:02:04    阅读次数:90
drf modelviewset 之update操作
注意对应的是put请求方式, 路由需要带上对应的更新对象的ID example: http://127.0.0.1:8001/api/employees/employees/2/ 最后的2 即是更新的对象2 ...
分类:其他好文   时间:2020-01-06 12:21:32    阅读次数:238
延迟加载Javascript/CSS工具:LazyLoad
什么是LazyLoad LazyLoad是一个很小的,压缩后1.5kb(未使用Gzip压缩)、不依赖的JavaScript实用程序,它使根据需要加载外部JavaScript和CSS文件变得超级容易。 只要有可能,LazyLoad将自动并行加载资源,同时在指定要加载的url数组时确保执行顺序。在不保留 ...
分类:编程语言   时间:2020-01-06 00:44:44    阅读次数:390
Python语言之异常处理与测试
[TOC] (一)异常处理 1.捕获所有异常 2.捕获特定异常 3.手动抛出异常 (二)测试 使用Python自带的unittest模块 example 1:测试某个函数 example 2:测试某个类 常用的断言方法: ...
分类:编程语言   时间:2020-01-06 00:07:22    阅读次数:75
PlayJava SpringMVC与Struts2杂谈
一 先做一个简单对比: 1. SpringMVC的入口是Servlet,核心是DispatcherServlet,Struts2是Filter,核心是FilterDispatcher 2. SpringMVC应当会比Struts2稍微快些。SpringMVC是基于方法设计,Struts2是基于类,即 ...
分类:编程语言   时间:2020-01-05 13:44:10    阅读次数:116
WebFlux系列(一)HelloWorld
#java#spring#webflux#入门#编程# Spring WebFlux web的基本应用 视频讲解: https://www.bilibili.com/video/av82028626/ WebfluxApplication.java package com.example.webfl ...
分类:Web程序   时间:2020-01-05 11:52:40    阅读次数:112
[LC] 102. Binary Tree Level Order Traversal
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example:Given binary tree [3 ...
分类:其他好文   时间:2020-01-05 11:37:20    阅读次数:72
[LC] 513. Find Bottom Left Tree Value
Given a binary tree, find the leftmost value in the last row of the tree. Example 1: Input: 2 / \ 1 3 Output: 1 Example 2: Input: 1 / \ 2 3 / / \ 4 5 ...
分类:其他好文   时间:2020-01-05 09:54:14    阅读次数:60
LeetCode 1053. Previous Permutation With One Swap
原题链接在这里:https://leetcode.com/problems/previous-permutation-with-one-swap/ 题目: Given an array A of positive integers (not necessarily distinct), return ...
分类:其他好文   时间:2020-01-05 09:32:35    阅读次数:73
配置glibc
cmake_minimum_required(VERSION 3.10)project(yolo_example)set(CMAKE_CXX_STANDARD 11)include(FindPkgConfig)pkg_check_modules(GLIB glib-2.0 REQUIRED)incl ...
分类:其他好文   时间:2020-01-05 09:15:51    阅读次数:74
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!