File tree Expand file tree Collapse file tree 8 files changed +129
-14
lines changed
universal-sentence-encoder Expand file tree Collapse file tree 8 files changed +129
-14
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,22 @@ import node from 'rollup-plugin-node-resolve';
19
19
import typescript from 'rollup-plugin-typescript2' ;
20
20
import uglify from 'rollup-plugin-uglify' ;
21
21
22
- const PREAMBLE =
23
- `// @tensorflow/tfjs-models Copyright ${ ( new Date ) . getFullYear ( ) } Google` ;
22
+ const PREAMBLE = `/**
23
+ * @license
24
+ * Copyright ${ ( new Date ) . getFullYear ( ) } Google LLC. All Rights Reserved.
25
+ * Licensed under the Apache License, Version 2.0 (the "License");
26
+ * you may not use this file except in compliance with the License.
27
+ * You may obtain a copy of the License at
28
+ *
29
+ * http://www.apache.org/licenses/LICENSE-2.0
30
+ *
31
+ * Unless required by applicable law or agreed to in writing, software
32
+ * distributed under the License is distributed on an "AS IS" BASIS,
33
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34
+ * See the License for the specific language governing permissions and
35
+ * limitations under the License.
36
+ * =============================================================================
37
+ */` ;
24
38
25
39
function minify ( ) {
26
40
return uglify ( { output : { preamble : PREAMBLE } } ) ;
Original file line number Diff line number Diff line change @@ -19,8 +19,22 @@ import node from 'rollup-plugin-node-resolve';
19
19
import typescript from 'rollup-plugin-typescript2' ;
20
20
import uglify from 'rollup-plugin-uglify' ;
21
21
22
- const PREAMBLE =
23
- `// @tensorflow/tfjs-models Copyright ${ ( new Date ) . getFullYear ( ) } Google` ;
22
+ const PREAMBLE = `/**
23
+ * @license
24
+ * Copyright ${ ( new Date ) . getFullYear ( ) } Google LLC. All Rights Reserved.
25
+ * Licensed under the Apache License, Version 2.0 (the "License");
26
+ * you may not use this file except in compliance with the License.
27
+ * You may obtain a copy of the License at
28
+ *
29
+ * http://www.apache.org/licenses/LICENSE-2.0
30
+ *
31
+ * Unless required by applicable law or agreed to in writing, software
32
+ * distributed under the License is distributed on an "AS IS" BASIS,
33
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34
+ * See the License for the specific language governing permissions and
35
+ * limitations under the License.
36
+ * =============================================================================
37
+ */` ;
24
38
25
39
function minify ( ) {
26
40
return uglify ( {
Original file line number Diff line number Diff line change @@ -19,8 +19,22 @@ import node from 'rollup-plugin-node-resolve';
19
19
import typescript from 'rollup-plugin-typescript2' ;
20
20
import uglify from 'rollup-plugin-uglify' ;
21
21
22
- const PREAMBLE =
23
- `// @tensorflow/tfjs-models Copyright ${ ( new Date ) . getFullYear ( ) } Google` ;
22
+ const PREAMBLE = `/**
23
+ * @license
24
+ * Copyright ${ ( new Date ) . getFullYear ( ) } Google LLC. All Rights Reserved.
25
+ * Licensed under the Apache License, Version 2.0 (the "License");
26
+ * you may not use this file except in compliance with the License.
27
+ * You may obtain a copy of the License at
28
+ *
29
+ * http://www.apache.org/licenses/LICENSE-2.0
30
+ *
31
+ * Unless required by applicable law or agreed to in writing, software
32
+ * distributed under the License is distributed on an "AS IS" BASIS,
33
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34
+ * See the License for the specific language governing permissions and
35
+ * limitations under the License.
36
+ * =============================================================================
37
+ */` ;
24
38
25
39
function minify ( ) {
26
40
return uglify ( { output : { preamble : PREAMBLE } } ) ;
Original file line number Diff line number Diff line change @@ -19,8 +19,22 @@ import node from 'rollup-plugin-node-resolve';
19
19
import typescript from 'rollup-plugin-typescript2' ;
20
20
import uglify from 'rollup-plugin-uglify' ;
21
21
22
- const PREAMBLE =
23
- `// @tensorflow/tfjs-models Copyright ${ ( new Date ) . getFullYear ( ) } Google` ;
22
+ const PREAMBLE = `/**
23
+ * @license
24
+ * Copyright ${ ( new Date ) . getFullYear ( ) } Google LLC. All Rights Reserved.
25
+ * Licensed under the Apache License, Version 2.0 (the "License");
26
+ * you may not use this file except in compliance with the License.
27
+ * You may obtain a copy of the License at
28
+ *
29
+ * http://www.apache.org/licenses/LICENSE-2.0
30
+ *
31
+ * Unless required by applicable law or agreed to in writing, software
32
+ * distributed under the License is distributed on an "AS IS" BASIS,
33
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34
+ * See the License for the specific language governing permissions and
35
+ * limitations under the License.
36
+ * =============================================================================
37
+ */` ;
24
38
25
39
function minify ( ) {
26
40
return uglify ( { output : { preamble : PREAMBLE } } ) ;
Original file line number Diff line number Diff line change @@ -19,8 +19,22 @@ import node from 'rollup-plugin-node-resolve';
19
19
import typescript from 'rollup-plugin-typescript2' ;
20
20
import uglify from 'rollup-plugin-uglify' ;
21
21
22
- const PREAMBLE =
23
- `// @tensorflow/tfjs-models Copyright ${ ( new Date ) . getFullYear ( ) } Google` ;
22
+ const PREAMBLE = `/**
23
+ * @license
24
+ * Copyright ${ ( new Date ) . getFullYear ( ) } Google LLC. All Rights Reserved.
25
+ * Licensed under the Apache License, Version 2.0 (the "License");
26
+ * you may not use this file except in compliance with the License.
27
+ * You may obtain a copy of the License at
28
+ *
29
+ * http://www.apache.org/licenses/LICENSE-2.0
30
+ *
31
+ * Unless required by applicable law or agreed to in writing, software
32
+ * distributed under the License is distributed on an "AS IS" BASIS,
33
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34
+ * See the License for the specific language governing permissions and
35
+ * limitations under the License.
36
+ * =============================================================================
37
+ */` ;
24
38
25
39
function minify ( ) {
26
40
return uglify ( { output : { preamble : PREAMBLE } } ) ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright 2019 Google Inc. All Rights Reserved.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ * =============================================================================
16
+ */
17
+
1
18
import * as tfconv from '@tensorflow/tfjs-converter' ;
2
19
import * as tf from '@tensorflow/tfjs-core' ;
3
20
Original file line number Diff line number Diff line change @@ -19,8 +19,22 @@ import node from 'rollup-plugin-node-resolve';
19
19
import typescript from 'rollup-plugin-typescript2' ;
20
20
import uglify from 'rollup-plugin-uglify' ;
21
21
22
- const PREAMBLE =
23
- `// @tensorflow/tfjs-models Copyright ${ ( new Date ) . getFullYear ( ) } Google` ;
22
+ const PREAMBLE = `/**
23
+ * @license
24
+ * Copyright ${ ( new Date ) . getFullYear ( ) } Google LLC. All Rights Reserved.
25
+ * Licensed under the Apache License, Version 2.0 (the "License");
26
+ * you may not use this file except in compliance with the License.
27
+ * You may obtain a copy of the License at
28
+ *
29
+ * http://www.apache.org/licenses/LICENSE-2.0
30
+ *
31
+ * Unless required by applicable law or agreed to in writing, software
32
+ * distributed under the License is distributed on an "AS IS" BASIS,
33
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34
+ * See the License for the specific language governing permissions and
35
+ * limitations under the License.
36
+ * =============================================================================
37
+ */` ;
24
38
25
39
function minify ( ) {
26
40
return uglify ( { output : { preamble : PREAMBLE } } ) ;
Original file line number Diff line number Diff line change @@ -19,8 +19,22 @@ import node from 'rollup-plugin-node-resolve';
19
19
import typescript from 'rollup-plugin-typescript2' ;
20
20
import uglify from 'rollup-plugin-uglify' ;
21
21
22
- const PREAMBLE =
23
- `// @tensorflow/tfjs-models Copyright ${ ( new Date ) . getFullYear ( ) } Google` ;
22
+ const PREAMBLE = `/**
23
+ * @license
24
+ * Copyright ${ ( new Date ) . getFullYear ( ) } Google LLC. All Rights Reserved.
25
+ * Licensed under the Apache License, Version 2.0 (the "License");
26
+ * you may not use this file except in compliance with the License.
27
+ * You may obtain a copy of the License at
28
+ *
29
+ * http://www.apache.org/licenses/LICENSE-2.0
30
+ *
31
+ * Unless required by applicable law or agreed to in writing, software
32
+ * distributed under the License is distributed on an "AS IS" BASIS,
33
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34
+ * See the License for the specific language governing permissions and
35
+ * limitations under the License.
36
+ * =============================================================================
37
+ */` ;
24
38
25
39
function minify ( ) {
26
40
return uglify ( { output : { preamble : PREAMBLE } } ) ;
You can’t perform that action at this time.
0 commit comments