Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for failed (0.23 sec)

  1. tensorflow/c/experimental/grappler/grappler.cc

    limitations under the License.
    ==============================================================================*/
    // This file extends/implements core graph optimizer base classes in terms of
    // the C API defined in grappler.h. A class "CSomething" represents a
    // "Something" that can be manipulated via calls in the C interface and a C
    // struct called "TP_Something".
    
    #include "tensorflow/c/experimental/grappler/grappler.h"
    
    #include <algorithm>
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      auto gcs_file = static_cast<GCSFile*>(file->plugin_file);
      if (!gcs_file->outfile.is_open()) {
        TF_SetStatus(status, TF_FAILED_PRECONDITION,
                     "The internal temporary file is not writable.");
        return;
      }
      TF_VLog(3, "Append: gs://%s/%s size %u", gcs_file->bucket.c_str(),
              gcs_file->object.c_str(), n);
      gcs_file->sync_need = true;
      gcs_file->outfile.write(buffer, n);
      if (!gcs_file->outfile)
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

      if (ops->random_access_file_ops != nullptr)
        CheckAPI(ops->random_access_file_ops_api, TF_RANDOM_ACCESS_FILE_OPS_API,
                 "random access file");
    
      if (ops->writable_file_ops != nullptr)
        CheckAPI(ops->writable_file_ops_api, TF_WRITABLE_FILE_OPS_API,
                 "writable file");
    
      if (ops->read_only_memory_region_ops != nullptr)
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function_test.cc

        for (const EdgeSpec& e : e_edges) {
          ASSERT_TRUE(a_edges.find(e) != a_edges.end())
              << "Failed to find expected edge " << e.ToString()
              << " in fdef: " << fdef.DebugString();
        }
        for (const EdgeSpec& e : c_edges) {
          ASSERT_TRUE(a_edges.find(e) != a_edges.end())
              << "Failed to find expected control edge " << e.ToString()
              << " in fdef: " << fdef.DebugString();
        }
    
    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/plugins/posix/copy_file_linux.cc

    /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
    
    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,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        if (op_) {
          return errors::FailedPrecondition("Reset called on already built op.");
        }
        if (raw_device_name) {
          device_name_ = raw_device_name;
        }
        op_type_ = op;
        return absl::OkStatus();
      }
      Status SetOpName(const char* const op_name) override {
        if (op_) {
          return errors::FailedPrecondition(
              "SetOpName called on already built op.");
        }
        if (op_type_.empty()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  7. tensorflow/c/eager/c_api.cc

      tensorflow::unwrap(ctx)->SetThreadLocalDevicePlacementPolicy(
          static_cast<tensorflow::ContextDevicePlacementPolicy>(policy));
    }
    
    // Note: this function looks up a thread local policy. So it should be called in
    // the appropriate client thread. In particular, in async mode, it may not be
    // safe to call this function from the async EagerExecutor threads.
    extern TFE_ContextDevicePlacementPolicy TFE_ContextGetDevicePlacementPolicy(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
Back to top