redisai-js
Version:
A high-performance Typescript client for RedisAI
66 lines (65 loc) • 1.77 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {value: true});
exports.Model = void 0;
var Model = /** @class */ (function () {
function Model(backend, device, inputs, outputs, blob) {
this._backend = backend;
this._device = device;
this._inputs = inputs;
this._outputs = outputs;
this._blob = blob;
}
Object.defineProperty(Model.prototype, "backend", {
get: function () {
return this._backend;
},
set: function (value) {
this._backend = value;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Model.prototype, "device", {
get: function () {
return this._device;
},
set: function (value) {
this._device = value;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Model.prototype, "inputs", {
get: function () {
return this._inputs;
},
set: function (value) {
this._inputs = value;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Model.prototype, "outputs", {
get: function () {
return this._outputs;
},
set: function (value) {
this._outputs = value;
},
enumerable: false,
configurable: true
});
Object.defineProperty(Model.prototype, "blob", {
get: function () {
return this._blob;
},
set: function (value) {
this._blob = value;
},
enumerable: false,
configurable: true
});
return Model;
}());
exports.Model = Model;
//# sourceMappingURL=Model.js.map