Keras | Tensorflow | Tensorflow Lite | Tensorflow JS | Caffe | Core ML | |
---|---|---|---|---|---|---|
Keras | 🌟 | LINK | LINK | LINK | [LINK](https://github.com/uhfband/keras2caffe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load files from the server to the client! | |
const model = await nsfwjs.load('/model/') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Classic import style | |
import * as nsfwjs from 'nsfwjs' | |
// or just use require('nsfwjs') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | |
# yarn lockfile v1 | |
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.0.0-beta.35": | |
version "7.0.0" | |
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0.tgz#06e2ab19bdb535385559aabb5ba59729482800f8" | |
dependencies: | |
"@babel/highlight" "^7.0.0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react" | |
import { Text } from "react-native" | |
export default (props) => | |
<Text {...props}> | |
{props.text ? `WELCOME ${props.text.toUpperCase()}!` : 'WELCOME!'} | |
</Text> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { requireNativeComponent } from 'react-native'; | |
export default requireNativeComponent('RNTWelcomeView'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.diveintonative; | |
import android.widget.TextView; | |
import com.facebook.react.uimanager.SimpleViewManager; | |
import com.facebook.react.uimanager.ThemedReactContext; | |
import com.facebook.react.uimanager.annotations.ReactProp; | |
public class RNTWelcomeViewManager extends SimpleViewManager<TextView> { | |
public static final String REACT_CLASS = "RNTWelcomeView"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RCT_CUSTOM_VIEW_PROPERTY(text, NSString, __unused UILabel) | |
{ | |
view.text = [NSString stringWithFormat:@"WELCOME %@!", [json uppercaseString]]; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "RNTWelcomeViewManager.h" | |
@implementation RNTWelcomeViewManager | |
RCT_EXPORT_MODULE() | |
- (UIView *)view | |
{ | |
UILabel *myTextView = [UILabel new]; | |
myTextView.text = @"WELCOME!"; | |
return myTextView; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default_platform(:ios) | |
platform :ios do | |
desc "Push a new beta build to TestFlight" | |
desc "This will also make sure the profile is up to date" | |
lane :beta do | |
# UI.important "Important Message" | |
# UI.error "O NO!" | |
# UI.message "Basic blah" |