Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for out (0.18 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      EXPECT_EQ(out, b);
      EXPECT_EQ(calls, 3);
      TF_EXPECT_OK(ReadCache(&cache, "b", 8, n, &out));
      EXPECT_EQ(out, B);
      EXPECT_EQ(calls, 4);
      // All four blocks should be in the cache now.
      TF_EXPECT_OK(ReadCache(&cache, "a", 0, n, &out));
      EXPECT_EQ(out, a);
      TF_EXPECT_OK(ReadCache(&cache, "a", 8, n, &out));
      EXPECT_EQ(out, A);
      TF_EXPECT_OK(ReadCache(&cache, "b", 0, n, &out));
      EXPECT_EQ(out, b);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  2. tensorflow/c/checkpoint_reader.cc

        const string& name, std::unique_ptr<tensorflow::Tensor>* out_tensor,
        TF_Status* out_status) const {
      Status status;
      if (reader_ != nullptr) {
        status = reader_->GetTensor(name, out_tensor);
      } else {
        tensorflow::DataType dtype;
        tensorflow::TensorShape shape;
        status = v2_reader_->LookupDtypeAndShape(name, &dtype, &shape);
        if (status.ok()) {
          out_tensor->reset(new Tensor(dtype, shape));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Tensor* out = csession.output_tensor(0);
      ASSERT_TRUE(out != nullptr);
      EXPECT_EQ(TF_FLOAT, TF_TensorType(out));
      EXPECT_EQ(2, TF_NumDims(out));
      EXPECT_EQ(4, TF_Dim(out, 0));
      EXPECT_EQ(1, TF_Dim(out, 1));
      float* values = static_cast<float*>(TF_TensorData(out));
      // These values are defined to be (input / 2) + 2.
      EXPECT_EQ(2, values[0]);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. tensorflow/c/checkpoint_reader.h

      // Attempts to look up the tensor named "name" and stores the found result in
      // "out_tensor".
      void GetTensor(const string& name,
                     std::unique_ptr<tensorflow::Tensor>* out_tensor,
                     TF_Status* out_status) const;
    
     private:
      // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type"
      // maps; both owned by caller.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. ISSUES.md

    1.  It must be a bug/performance issue or a feature request or a build issue or
        a documentation issue (for small doc fixes please send a PR instead).
    1.  Make sure the Issue Template is filled out.
    1.  The issue should be related to the repo it is created in.
    
    **Here's why we have this policy:** We want to focus on the work that benefits
    the whole community, e.g., fixing bugs and adding features. Individual support
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 11 22:37:27 GMT 2021
    - 606 bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

          // block in the file, which does not extend all the way out to `offset`.
          std::stringstream os;
          os << "EOF at offset " << offset << " in file " << filename
             << " at position " << pos << " with data size " << data.size();
          TF_SetStatus(status, TF_OUT_OF_RANGE, std::move(os).str().c_str());
          return total_bytes_transferred;
        }
        auto begin = data.begin();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_test.cc

          "      output_arg {"
          "        name: 'out'"
          "        type: DT_STRING"
          "      }"
          "    }"
          "    node_def {"
          "      name: 'error_op'"
          "      op: '__OP_NAME__'"
          "    }"
          "    ret {"
          "      key: 'out'"
          "      value: 'error_op:out'"
          "    }";
      tensorflow::FunctionDef def;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  8. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      StringPiece result;
      // read at least 1 byte more than test_data
      status = read_file->Read(0, test_data.size() + 1, &result, scratch);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OUT_OF_RANGE);
    }
    
    // The URI schemes that need to be tested are provided by the user via flags
    // (or, if none is supplied, all existing schemes are used). As a scheme can
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  9. tensorflow/c/eager/dlpack_test.cc

      EXPECT_EQ(dltensor_out->dtype.bits, dltensor_in->dtype.bits);
      EXPECT_EQ(dltensor_out->dtype.lanes, dltensor_in->dtype.lanes);
      for (int i = 0; i < dltensor_in->ndim; ++i) {
        EXPECT_EQ(dltensor_out->shape[i], dltensor_in->shape[i]);
        if (dltensor_out->strides) {
          if (i == dltensor_in->ndim - 1) {
            EXPECT_EQ(dltensor_out->strides[i], 1);
          } else {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jun 30 03:04:46 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_DeleteExecutor(executor);
      TF_DeleteStatus(status);
    }
    
    // Read the value of variable `var` and save it into `out_value`.
    void ReadVariable(TFE_Context* ctx, TFE_TensorHandle* var,
                      TFE_TensorHandle** out_value) {
      TF_Status* status = TF_NewStatus();
      TFE_Op* op = TFE_NewOp(ctx, "ReadVariableOp", status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
Back to top