- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CHECK_GE (0.16 sec)
-
tensorflow/c/kernels/tensor_shape_utils.cc
std::string ShapeDebugString(TF_Tensor* tensor) { // A TF_Tensor cannot have an unknown rank. CHECK_GE(TF_NumDims(tensor), 0); tensorflow::string s = "["; for (int i = 0; i < TF_NumDims(tensor); ++i) { if (i > 0) tensorflow::strings::StrAppend(&s, ","); int64_t dim = TF_Dim(tensor, i); // A TF_Tensor cannot have an unknown dimension. CHECK_GE(dim, 0); tensorflow::strings::StrAppend(&s, dim); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 03 21:44:58 UTC 2020 - 1.4K bytes - Viewed (0) -
tensorflow/cc/framework/ops.cc
#include "tensorflow/core/lib/hash/hash.h" namespace tensorflow { Operation::Operation(Node* n) : inputs_(GetInputs(n)), node_(n) {} Output Operation::input(int32_t i) const { CHECK_NOTNULL(node_); CHECK_GE(i, 0); CHECK_LT(i, node_->num_inputs()); // Handle the case where the input was unknown at the time this // Operation was constructed. if (inputs_[i].first == nullptr && inputs_[i].second == -1) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 3.5K bytes - Viewed (0)