Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Reback (0.15 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

        std::uniform_int_distribution<> distribution;
        rng_val_ = distribution(gen);
      }
    
      static void SetCloudPath(const std::string& cloud_path) {
        cloud_path_ = cloud_path;
        if (cloud_path_.back() == '/') cloud_path_.pop_back();
      }
    
      static void SetTmpDir(const std::string& tmp_dir) {
        tmp_dir_ = tmp_dir.empty() ? ::testing::TempDir() : tmp_dir;
      }
    
     protected:
      Env* env_;
    
     private:
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test.cc

        if (TF_GetCode(status.get()) != TF_OK) {
          ADD_FAILURE() << tag << " -- " << TF_Message(status.get());
          continue;
        }
        TFE_DeleteTensorHandle(hdevice);
        // Copy back to CPU
        TFE_TensorHandle* hcopy =
            TFE_TensorHandleCopyToDevice(hdevice2, ctx, kCPUDevice, status.get());
        if (TF_GetCode(status.get()) != TF_OK) {
          ADD_FAILURE() << tag << " -- " << TF_Message(status.get());
    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)
  3. tensorflow/c/c_api_test.cc

          src.flat<tstring>()(i) = data[i];
        }
        TF_Tensor* dst = TF_TensorFromTensor(src, &status);
        ASSERT_TRUE(status.ok()) << status.message();
    
        // Convert back to a C++ Tensor and ensure we get expected output.
        Tensor output;
        ASSERT_EQ(absl::OkStatus(), TF_TensorToTensor(dst, &output)) << line;
        ASSERT_EQ(src.NumElements(), output.NumElements()) << line;
    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/c_api_function_test.cc

    const char* kNegStackToString = "File \"neg.cc\", line 15, in beta";
    
    std::vector<IOSpec> M(const std::initializer_list<string>& names) {
      std::vector<IOSpec> v;
      for (const string& name : names) {
        v.push_back(IOSpec(name, DT_INVALID));
      }
      return v;
    }
    
    // Specification for an expected edge.
    // src is either:
    // - input name (as it appears in FunctionDef)
    // - name of output tensor (in nested "add:z:0" format)
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  5. tensorflow/c/experimental/filesystem/filesystem_interface.h

    ///
    /// The `TF_InitPlugin` function is used by plugins to set up the data
    /// structures that implement this interface, as presented in Section 2. In
    /// order to not have plugin shared objects call back symbols defined in core
    /// TensorFlow, `TF_InitPlugin` has a `TF_FilesystemPluginInfo` argument which
    /// the plugin must fill (using the `TF_SetFilesystemVersionMetadata` for the
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top