deeplearnjs_facade 0.0.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 45

deeplearnjs_dart_facade

Dart wrapper for deelearnjs

Most code generated by js_facade_gen.

The deepleanjs library will remain unchanged from the generate code except for necessary modifications to make it strong-mode clean. See the manual changes for an overview of changes made.

A more darty interface will eventually be written that does away with the need for things like allowInterop for function arguments, replaces promises with futures and adheres to the dart style guide.

Usage

See examples for dart ports of the typescipt examples.

TODO

  1. Port more examples
  2. Write dart interface that encapsulates js interop requirements

Changelog

0.0.1

  • Initial version, created by Stagehand

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  deeplearnjs_facade: "^0.0.1"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:deeplearnjs_facade/deeplearnjs_facade.dart';
        
Version Uploaded Documentation Archive
0.0.1 Aug 20, 2017 Go to the documentation of deeplearnjs_facade 0.0.1 Download deeplearnjs_facade 0.0.1 archive

Analysis

We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.49.0
  • pana: 0.10.6

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
90 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90 / 100
Overall score:
Weighted score of the above. [more]
45
Learn more about scoring.

Platforms

Detected platforms: web

Primary library: package:deeplearnjs_facade/deeplearnjs_facade.dart with components: html, js.

Suggestions

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 13 errors 336 hints.

    Strong-mode analysis of lib/src/generated/math/webgl/argmaxequals_gpu.dart failed with the following error:

    line: 19 col: 7
    Missing concrete implementations of getter 'GPGPUProgram.supportsBroadcasting' and setter 'GPGPUProgram.supportsBroadcasting'.

    Strong-mode analysis of lib/src/generated/math/webgl/argminmax_gpu.dart failed with the following error:

    line: 23 col: 7
    Missing concrete implementations of getter 'GPGPUProgram.supportsBroadcasting' and setter 'GPGPUProgram.supportsBroadcasting'.

    Similar analysis of the following files failed:

    • lib/src/generated/math/webgl/conv_backprop_gpu.dart (error)
    • lib/src/generated/math/webgl/conv_gpu.dart (error)
    • lib/src/generated/math/webgl/logsumexp_gpu.dart (error)
    • lib/src/generated/math/webgl/max_pool_backprop_gpu.dart (error)
    • lib/src/generated/math/webgl/minmax_gpu.dart (error)
    • lib/src/generated/math/webgl/mulmat_gpu.dart (error)
    • lib/src/generated/math/webgl/pool_gpu.dart (error)
    • lib/src/generated/math/webgl/reducesum_gpu.dart (error)
    • lib/src/generated/math/webgl/unaryop_gpu.dart (error)
    • lib/src/generated/math/activation_functions.dart (hint)
    • lib/src/generated/math/cost_functions.dart (hint)
    • lib/src/generated/math/math.dart (hint)
    • lib/src/generated/math/math_cpu.dart (hint)
    • lib/src/generated/math/math_gpu.dart (hint)
    • lib/src/generated/math/ndarray.dart (hint)
    • lib/src/generated/math/webgl/gpgpu_context.dart (hint)
    • lib/src/generated/math/webgl/gpgpu_math.dart (hint)
    • lib/src/generated/math/webgl/gpgpu_util.dart (hint)
    • lib/src/generated/math/webgl/webgl_util.dart (hint)
    • lib/src/generated/priority_queue.dart (hint)
    • lib/src/generated/session.dart (hint)
    • lib/src/generated/util.dart (hint)
  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use deeplearnjs_facade.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.20.1 <2.0.0
func ^1.0.0 1.0.0
js ^0.6.0 0.6.1
Dev dependencies
browser >=0.10.0 <0.11.0
dart_to_js_script_rewriter ^1.0.1
test ^0.12.0