optimization
Here are 5,475 public repositories matching this topic...
-
Updated
Jul 7, 2022 - JavaScript
-
Updated
Apr 10, 2022 - HTML
-
Updated
Jan 5, 2022
With Closure Compiler v20210106 and the following flags:
--language_in=ECMASCRIPT_NEXT
--compilation_level ADVANCED
--js tmp/wrap.js
This works fine:
/**
* @param {string} str
* @param {string} [prefix=aa]
* @param {string} [suffix=bb]
*/
function wrap1(str, prefix="aa", suffix="bb") {
return prefix + str + suffix;
}
window.wrap1 = wrap-
Updated
Jun 27, 2022 - Python
-
Updated
Sep 2, 2020 - LLVM
The Matlab version of CVX [1,2] offers the options of calling the Huber function with either huber(x,M) or huber(x,M,t). The latter computes t+t*huber(x/t,M), which is useful for concomitant scale estimation [3]. It would be nice to have the same option with cvxpy.
1 - https://github.com/cvxr/CVX/blob/master/functions/huber.m
2
-
Updated
Apr 30, 2022 - Java
-
Updated
May 11, 2022 - JavaScript
-
Updated
Jun 20, 2022 - C++
-
Updated
Jul 6, 2022 - Python
-
Updated
Jul 7, 2022 - Shell
-
Updated
Mar 13, 2022 - HTML
-
Updated
Mar 11, 2022 - C
in my old project , using webpack 1.x. And I use esbuild-loader replace babel-loader will print error
` building for production.../Users/wanglihui/WebstoreProject/onionfph5/project/node_modules/esbuild-loader/dist/plugin.js:12
compiler.hooks.thisCompilation.tap('esbuild', compilation => {
^
TypeError: Cannot read property 'thisCompilation' of undefined
I've noticed that there is an error in the code:
https://github.com/pytorch/serve/blob/a4d5090e114cdbeddf5077a817a8cd02d129159e/ts/model_loader.py#L92
There is an attempt to read the MANIFEST.json file, and there is use of the / charecter which used as a seperator in the Linux os, and in Windows there is use of the back-slash \, so this line creates always an invalid path so the loader d
-
Updated
Jul 8, 2022 - Java
-
Updated
Nov 7, 2021 - Java
-
Updated
Oct 14, 2019 - JavaScript
-
Updated
Feb 3, 2022 - Python
When jimplifying com.reddit.frontpage-214190.apk(Reddit v. 2.26.2), the following exception is thrown:
Exception in thread "main" Unexpected type null
at soot.jimple.toolkits.typing.integer.ClassHierarchy.typeNode(ClassHierarchy.java:152)
at soot.jimple.toolkits.typing.integer.TypeResolver.typeVariable(TypeResolver.java:121)
at soot.jimple.toolkits.typing.integer.ConstraintCollecto
.three {
background-color: var(--my-var, var(--my-background, pink));
--border-color: linear-gradient(to top, var(--secondary-color), var(--used-color, white));
}-
Updated
Jun 23, 2021 - C++
-
Updated
Jun 22, 2022 - JavaScript
-
Updated
Mar 23, 2018 - JavaScript
Currently, in EasyEngine site-specific Nginx configs, we cache static files but we do not provision webp files.
location ~* \.(ogg|ogv|svg|svgz|eot|otf|woff|woff2|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf|swf)$ {...
Since, webp is increasingly becoming the de facto standard of next gen image formats, it might be a good idea
-
Updated
Feb 3, 2021
Improve this page
Add a description, image, and links to the optimization topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the optimization topic, visit your repo's landing page and select "manage topics."
What happened + What you expected to happen
When initializing a Ray Trainer, we provide a
logdirargument, and the__init__method of the Trainer stores it as alogdirclass variable.Then, when creating a Trainable with
Trainer.to_tune_trainable(), it in-turn calls_create_tune_trainable(), which does not useself.logdir. So whentune_functionis defined inside `_create_tu