Tensor: move into tensor sub-directory.

PiperOrigin-RevId: 499896489
This commit is contained in:
Nikolay Chirkov 2023-01-05 08:54:25 -08:00 committed by Copybara-Service
parent 463cbb60ee
commit 35293d88bc
5 changed files with 27 additions and 3 deletions

View File

@ -430,7 +430,7 @@ cc_library(
],
hdrs = [
"tensor.h",
"tensor_internal.h",
"//mediapipe/framework/formats/tensor:internal.h",
],
copts = select({
"//mediapipe:apple": [

View File

@ -26,7 +26,7 @@
#include "absl/container/flat_hash_map.h"
#include "absl/synchronization/mutex.h"
#include "mediapipe/framework/formats/tensor_internal.h"
#include "mediapipe/framework/formats/tensor/internal.h"
#include "mediapipe/framework/port.h"
#if MEDIAPIPE_METAL_ENABLED

View File

@ -0,0 +1,24 @@
# Copyright 2019 The MediaPipe Authors.
#
# 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.
package(
default_visibility = ["//visibility:public"],
features = ["-layering_check"],
)
licenses(["notice"])
exports_files([
"internal.h",
])

View File

@ -7,7 +7,7 @@
#include <cstdint>
#include "mediapipe/framework/formats/tensor.h"
#include "mediapipe/framework/formats/tensor_data_types.h"
#include "mediapipe/framework/formats/tensor/views/data_types.h"
#include "mediapipe/gpu/gpu_test_base.h"
#include "mediapipe/gpu/shader_util.h"
#include "tensorflow/lite/delegates/gpu/gl/gl_call.h"