Notes for install Keras on Anaconda3'softmax') summary(model) # compile (define loss and optimizer) model %>% compile( loss = 'categorical_crossentropy', optimizer = optimizer_rmsprop(), metrics = c('accuracy') ) # train (fit)0 码力 | 3 页 | 654.13 KB | 8 月前3
2 使用Python训练和部署低精度模型 张校捷experimental.MixedPrecisionLossScaleOptimizer 2. 损失函数缩放:FixedLossScale和DynamicLossScale # Define optimizer opt = tf.train.AdamOptimizer() # Define static loss scale loss_scale_value = 1024 loss_scale = TF_ENABLE_AUTO_MIXED_PRECISION=“1” 2.在代码中手动开启(1和2选项互相冲突,同时设置会报错) # Define optimizer opt = tf.train.AdamOptimizer() # Modify optimizer in graph, copy between fp32 weight and fp16 weight opt = tf.train.experimental0 码力 | 24 页 | 981.45 KB | 1 年前3
Jinja2 Documentation Release 2.10classes. For more information have a look at the extensions documentation. optimized should the optimizer be enabled? Default is True. undefined Undefined or a subclass of it that is used to represent context/environment/evalctx decorator functions on the fi- nalize callback of the environment. • escape query strings for urlencode properly. Previously slashes were not escaped in that place. • Add ‘base’ parameter0 码力 | 148 页 | 475.08 KB | 1 年前3
Django 2.2.x Documentationreference Model Meta options Model instance reference QuerySet API reference Lookup API reference Query Expressions Conditional Expressions Database Functions Request and response objects Quick overview SQL | Transactions | Aggregation | Search | Custom fields | Multiple databases | Custom lookups | Query Expressions | Conditional Expressions | Database Functions Other: Supported databases | Legacy databases Reporter.objects.get(id=2) Traceback (most recent call last): ... DoesNotExist: Reporter matching query does not exist. # Create an article. >>> from datetime import date >>> a = Article(pub_date=date0 码力 | 2915 页 | 2.83 MB | 1 年前3
Django 2.1.x DocumentationSQL | Transactions | Aggregation | Search | Custom fields | Multiple databases | Custom lookups | Query Expressions | Conditional Expressions | Database Functions • Other: Supported databases | Legacy Reporter.objects.get(id=2) Traceback (most recent call last): ... DoesNotExist: Reporter matching query does not exist. # Create an article. >>> from datetime import date >>> a = Article(pub_date=date Question.objects.get(id=2) Traceback (most recent call last): ... DoesNotExist: Question matching query does not exist. # Lookup by a primary key is the most common case, so Django provides a # shortcut0 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 2.1.x Documentationreference Model Meta options Model instance reference QuerySet API reference Lookup API reference Query Expressions Conditional Expressions Database Functions Request and response objects Quick overview SQL | Transactions | Aggregation | Search | Custom fields | Multiple databases | Custom lookups | Query Expressions | Conditional Expressions | Database Functions Other: Supported databases | Legacy databases Reporter.objects.get(id=2) Traceback (most recent call last): ... DoesNotExist: Reporter matching query does not exist. # Create an article. >>> from datetime import date >>> a = Article(pub_date=date0 码力 | 2790 页 | 2.71 MB | 1 年前3
Django 2.0.x DocumentationSQL | Transactions | Aggregation | Search | Custom fields | Multiple databases | Custom lookups | Query Expressions | Conditional Expressions | Database Functions • Other: Supported databases | Legacy Release 2.0.14.dev20190701080343 (continued from previous page) DoesNotExist: Reporter matching query does not exist. # Create an article. >>> from datetime import date >>> a = Article(pub_date=date Question.objects.get(id=2) Traceback (most recent call last): ... DoesNotExist: Question matching query does not exist. # Lookup by a primary key is the most common case, so Django provides a # shortcut0 码力 | 1880 页 | 6.41 MB | 1 年前3
Django 2.0.x Documentationreference Model Meta options Model instance reference QuerySet API reference Lookup API reference Query Expressions Conditional Expressions Database Functions Request and response objects Quick overview SQL | Transactions | Aggregation | Search | Custom fields | Multiple databases | Custom lookups | Query Expressions | Conditional Expressions | Database Functions Other: Supported databases | Legacy databases Reporter.objects.get(id=2) Traceback (most recent call last): ... DoesNotExist: Reporter matching query does not exist. # Create an article. >>> from datetime import date >>> a = Article(pub_date=date0 码力 | 2746 页 | 2.67 MB | 1 年前3
Django 1.11.x DocumentationSQL | Transactions | Aggregation | Search | Custom fields | Multiple databases | Custom lookups | Query Expressions | Conditional Expressions | Database Functions • Other: Supported databases | Legacy Release 1.11.30.dev20200305075726 (continued from previous page) DoesNotExist: Reporter matching query does not exist. # Create an article. >>> from datetime import date >>> a = Article(pub_date=date Question.objects.get(id=2) Traceback (most recent call last): ... DoesNotExist: Question matching query does not exist. # Lookup by a primary key is the most common case, so Django provides a # shortcut0 码力 | 1878 页 | 6.40 MB | 1 年前3
Django 1.11.x Documentationreference Model Meta options Model instance reference QuerySet API reference Lookup API reference Query Expressions Conditional Expressions Database Functions Request and response objects Quick overview SQL | Transactions | Aggregation | Search | Custom fields | Multiple databases | Custom lookups | Query Expressions | Conditional Expressions | Database Functions Other: Supported databases | Legacy databases Reporter.objects.get(id=2) Traceback (most recent call last): ... DoesNotExist: Reporter matching query does not exist. # Create an article. >>> from datetime import date >>> a = Article(pub_date=date0 码力 | 2747 页 | 2.67 MB | 1 年前3
共 402 条
- 1
- 2
- 3
- 4
- 5
- 6
- 41













