Skip to content

Commit

Permalink
add missing license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Dec 13, 2023
1 parent 642efc1 commit 7352585
Show file tree
Hide file tree
Showing 12 changed files with 47 additions and 76 deletions.
21 changes: 19 additions & 2 deletions src/main/java/io/bioimage/modelrunner/numpy/DecodeImgLib2.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,31 @@
/*-
* #%L
* Use deep learning frameworks from Java in an agnostic and isolated way.
* %%
* Copyright (C) 2022 - 2023 Institut Pasteur and BioImage.IO developers.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
package io.bioimage.modelrunner.numpy;

import java.nio.ByteBuffer;
import java.util.Arrays;

import io.bioimage.modelrunner.tensor.Tensor;
import net.imglib2.Cursor;
import net.imglib2.RandomAccessibleInterval;
import net.imglib2.img.Img;
import net.imglib2.type.NativeType;
import net.imglib2.type.Type;
import net.imglib2.type.numeric.RealType;
import net.imglib2.type.numeric.integer.ByteType;
import net.imglib2.type.numeric.integer.IntType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*-
* #%L
* This project complements the DL-model runner acting as the engine that works loading models
* and making inference with Java 0.3.0 and newer API for Tensorflow 2.
* Use deep learning frameworks from Java in an agnostic and isolated way.
* %%
* Copyright (C) 2022 - 2023 Institut Pasteur and BioImage.IO developers.
* %%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*-
* #%L
* This project complements the DL-model runner acting as the engine that works loading models
* and making inference with Java API for Tensorflow 1.
* Use deep learning frameworks from Java in an agnostic and isolated way.
* %%
* Copyright (C) 2022 - 2023 Institut Pasteur and BioImage.IO developers.
* %%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*-
* #%L
* This project complements the DL-model runner acting as the engine that works loading models
* and making inference with Java 0.3.0 and newer API for Tensorflow 2.
* Use deep learning frameworks from Java in an agnostic and isolated way.
* %%
* Copyright (C) 2022 - 2023 Institut Pasteur and BioImage.IO developers.
* %%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*-
* #%L
* This project complements the DL-model runner acting as the engine that works loading models
* and making inference with Java 0.3.0 and newer API for Tensorflow 2.
* Use deep learning frameworks from Java in an agnostic and isolated way.
* %%
* Copyright (C) 2022 - 2023 Institut Pasteur and BioImage.IO developers.
* %%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*-
* #%L
* This project complements the DL-model runner acting as the engine that works loading models
* and making inference with Java 0.3.0 and newer API for Tensorflow 2.
* Use deep learning frameworks from Java in an agnostic and isolated way.
* %%
* Copyright (C) 2022 - 2023 Institut Pasteur and BioImage.IO developers.
* %%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*-
* #%L
* This project complements the DL-model runner acting as the engine that works loading models
* and making inference with Java 0.3.0 and newer API for Tensorflow 2.
* Use deep learning frameworks from Java in an agnostic and isolated way.
* %%
* Copyright (C) 2022 - 2023 Institut Pasteur and BioImage.IO developers.
* %%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*-
* #%L
* This project complements the DL-model runner acting as the engine that works loading models
* and making inference with Java 0.3.0 and newer API for Tensorflow 2.
* Use deep learning frameworks from Java in an agnostic and isolated way.
* %%
* Copyright (C) 2022 - 2023 Institut Pasteur and BioImage.IO developers.
* %%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*-
* #%L
* This project complements the DL-model runner acting as the engine that works loading models
* and making inference with Java 0.3.0 and newer API for Tensorflow 2.
* Use deep learning frameworks from Java in an agnostic and isolated way.
* %%
* Copyright (C) 2022 - 2023 Institut Pasteur and BioImage.IO developers.
* %%
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*-
* #%L
* This project complements the DL-model runner acting as the engine that works loading models
* and making inference with Java 0.3.0 and newer API for Tensorflow 2.
* Use deep learning frameworks from Java in an agnostic and isolated way.
* %%
* Copyright (C) 2022 - 2023 Institut Pasteur and BioImage.IO developers.
* %%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
###
# #%L
# Use deep learning frameworks from Java in an agnostic and isolated way.
# %%
# Copyright (C) 2022 - 2023 Institut Pasteur and BioImage.IO developers.
# %%
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #L%
###
from time import time
t = time()
import numpy as np
Expand Down

0 comments on commit 7352585

Please sign in to comment.