padding_fifo_queue_op.cc
imports tensorflow/core/platform/logging.himports tensorflow/core/platform/macros.h
SHA-256c977a79ea1e57e9b6cd172f4887a2b4f5dd9a009bb36fa7e384e3537baa2cf78
MaleculeMd(In₅)
Evidence
1/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is …
11:42… IND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14================================================================ …
14:75… ====*/
15
16// See docs in ../ops/data_flow_ops.cc.
17
18#include <deque>
19#include <vector>
20
21#include "tensorflow/core/framework/op_kernel.h"
22#include "tensorflow/core/framework/partial_tensor_shape.h"
23#include "tensorflow/core/framework/resource_mgr.h"
24#include "tensorflow/core/framework/tensor.h"
25#include "tensorflow/core/framework/tensor_shape.h"
26#include "tensorflow/core/framework/types.h"
27#include "tensorflow/core/kernels/padding_fifo_queue.h"
28#include "tensorflow/core/kernels/queue_base.h"
29#include "tensorflow/core/kernels/queue_op.h"
30#include "tensorflow/core/lib/core/errors.h"
31#include "tensorflow/core/platform/logging.h"
32#include "tensorflow/core/platform/macros.h"
33#include "tensorflow/core/platform/mutex.h"
34#include "tensorflow/core/platform/thread_annotations.h"
35#include "tensorflow/core/platform/types.h"
36
37namespace tensorflow {
38
39// Defines a PaddingFIFOQueueOp, which produces a Queue (specifically, one
40// backed by PaddingFIFOQueue) that persists across different graph
41// executions, and sessions. Running this op produces a single- …
51:2… " must have known rank."));
52 }
53 }
54
55 private:
56 absl::Status CreateResource(QueueInterface** ret) overri …