@tensorflow/tfjs-converter
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -19,2 +19,11 @@ "use strict"; | ||
} | ||
case 'cropAndResize': { | ||
var image = utils_1.getParamValue('image', node, tensorMap, context); | ||
var boxes = utils_1.getParamValue('boxes', node, tensorMap, context); | ||
var boxInd = utils_1.getParamValue('boxInd', node, tensorMap, context); | ||
var cropSize = utils_1.getParamValue('cropSize', node, tensorMap, context); | ||
var method = utils_1.getParamValue('method', node, tensorMap, context); | ||
var extrapolationValue = utils_1.getParamValue('extrapolationValue', node, tensorMap, context); | ||
return [tfc.image.cropAndResize(image, boxes, boxInd, cropSize, method, extrapolationValue)]; | ||
} | ||
default: | ||
@@ -21,0 +30,0 @@ throw TypeError("Node type " + node.op + " is not implemented"); |
@@ -172,4 +172,18 @@ "use strict"; | ||
] | ||
}, | ||
{ | ||
'tfOpName': 'FloorMod', | ||
'dlOpName': 'mod', | ||
'category': 'arithmetic', | ||
'params': [ | ||
{ 'tfInputIndex': 0, 'dlParamName': 'a', 'type': 'tensor' }, | ||
{ 'tfInputIndex': 1, 'dlParamName': 'b', 'type': 'tensor' }, { | ||
'tfParamName': 'T', | ||
'dlParamName': 'dtype', | ||
'type': 'dtype', | ||
'notSupported': true | ||
} | ||
] | ||
} | ||
]; | ||
//# sourceMappingURL=arithmetic.js.map |
@@ -41,4 +41,20 @@ "use strict"; | ||
] | ||
}, | ||
{ | ||
'tfOpName': 'CropAndResize', | ||
'dlOpName': 'cropAndResize', | ||
'category': 'image', | ||
'params': [ | ||
{ 'tfInputIndex': 0, 'dlParamName': 'image', 'type': 'tensor' }, | ||
{ 'tfInputIndex': 1, 'dlParamName': 'boxes', 'type': 'tensor' }, | ||
{ 'tfInputIndex': 2, 'dlParamName': 'boxInd', 'type': 'tensor' }, | ||
{ 'tfInputIndex': 3, 'dlParamName': 'cropSize', 'type': 'number[]' }, | ||
{ 'tfParamName': 'method', 'dlParamName': 'method', 'type': 'string' }, { | ||
'tfParamName': 'extrapolation_value', | ||
'dlParamName': 'extrapolationValue', | ||
'type': 'number' | ||
} | ||
] | ||
} | ||
]; | ||
//# sourceMappingURL=image.js.map |
@@ -31,2 +31,28 @@ "use strict"; | ||
{ | ||
'tfOpName': 'BatchMatMul', | ||
'dlOpName': 'matMul', | ||
'category': 'matrices', | ||
'params': [ | ||
{ 'tfInputIndex': 0, 'dlParamName': 'a', 'type': 'tensor' }, | ||
{ 'tfInputIndex': 1, 'dlParamName': 'b', 'type': 'tensor' }, { | ||
'tfParamName': 'adj_x', | ||
'dlParamName': 'transposeA', | ||
'type': 'bool', | ||
'defaultValue': false | ||
}, | ||
{ | ||
'tfParamName': 'adj_y', | ||
'dlParamName': 'transposeB', | ||
'type': 'bool', | ||
'defaultValue': false | ||
}, | ||
{ | ||
'tfParamName': 'T', | ||
'dlParamName': 'dtype', | ||
'type': 'dtype', | ||
'notSupported': true | ||
} | ||
] | ||
}, | ||
{ | ||
'tfOpName': 'Transpose', | ||
@@ -33,0 +59,0 @@ 'dlOpName': 'transpose', |
@@ -206,4 +206,19 @@ "use strict"; | ||
] | ||
}, | ||
{ | ||
'tfOpName': 'SplitV', | ||
'dlOpName': 'split', | ||
'category': 'slice_join', | ||
'params': [ | ||
{ 'tfInputIndex': 0, 'dlParamName': 'x', 'type': 'tensor' }, | ||
{ 'tfInputIndex': 1, 'dlParamName': 'numOrSizeSplits', 'type': 'number[]' }, | ||
{ | ||
'tfInputIndex': 2, | ||
'dlParamName': 'axis', | ||
'type': 'number', | ||
'defaultValue': 0 | ||
} | ||
] | ||
} | ||
]; | ||
//# sourceMappingURL=slice_join.js.map |
@@ -1,2 +0,2 @@ | ||
declare const version = "0.6.0"; | ||
declare const version = "0.6.1"; | ||
export { version }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var version = '0.6.0'; | ||
var version = '0.6.1'; | ||
exports.version = version; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@tensorflow/tfjs-converter", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Tensorflow model converter for javascript", | ||
@@ -17,6 +17,6 @@ "main": "dist/src/index.js", | ||
"peerDependencies": { | ||
"@tensorflow/tfjs-core": "~0.13.0" | ||
"@tensorflow/tfjs-core": "~0.13.2" | ||
}, | ||
"devDependencies": { | ||
"@tensorflow/tfjs-core": "~0.13.0", | ||
"@tensorflow/tfjs-core": "~0.13.2", | ||
"@types/jasmine": "~2.8.6", | ||
@@ -23,0 +23,0 @@ "@types/node-fetch": "1.6.9", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2737183
17100