Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for fully (0.18 sec)

  1. tensorflow/c/c_api.cc

    }
    
    void TF_SetFullType(TF_Graph* graph, TF_Operation* op,
                        const TF_Buffer* full_type_proto) {
      using tensorflow::RecordMutation;
      mutex_lock l(graph->mu);
      FullTypeDef full_type;
      full_type.ParseFromArray(full_type_proto->data, full_type_proto->length);
      *op->node.mutable_def()->mutable_experimental_type() = full_type;
      RecordMutation(graph, *op, "setting fulltype");
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

      TF_Buffer* ret = TF_NewBuffer();
      TF_CHECK_OK(MessageToBuffer(config, ret));
      return ret;
    }
    
    TF_Buffer* TF_CreateRunOptions(unsigned char enable_full_trace) {
      tensorflow::RunOptions options;
      if (enable_full_trace) {
        options.set_trace_level(tensorflow::RunOptions::FULL_TRACE);
      } else {
        options.set_trace_level(tensorflow::RunOptions::NO_TRACE);
      }
      TF_Buffer* ret = TF_NewBuffer();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                underlying_devices_[component_index], underlying_devices_[0])) {
          // Device names are from different address spaces, or we can't figure out
          // whether they are, so we'll fully-qualify everything.
          return underlying_devices_;
        }
      }
      std::vector<std::string> local_names;
      local_names.reserve(underlying_devices_.size());
      for (const DeviceNameUtils::ParsedName& parsed_component :
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      std::string dir = path;
      MaybeAppendSlash(&dir);
      for (const std::string& children : childrens) {
        const std::string& full_path = dir + children;
        DeleteFile(filesystem, full_path.c_str(), status);
        if (TF_GetCode(status) != TF_OK) {
          if (IsDirectory(filesystem, full_path.c_str(), status))
            // The object is a directory marker.
            (*undeleted_dirs)++;
          else
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental_graph.cc

    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "xla/tsl/c/tsl_status_internal.h"
    #include "tensorflow/core/framework/full_type.pb.h"
    #include "tensorflow/core/framework/shape_inference.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h"
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  6. tensorflow/c/checkpoint_reader.cc

        for (int i = 0; i < entry.slices_size(); ++i) {
          const auto& slice_proto = entry.slices(i);
          CHECK(filtered_keys
                    .insert(EncodeTensorNameSlice(
                        string(v2_reader_->key()) /* full var's name */,
                        TensorSlice(slice_proto)))
                    .second);
        }
      }
    
      // Second pass: adds the entries, ignoring the filtered keys.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

            std::vector<char> got;
            TF_EXPECT_OK(ReadCache(&cache, "", offset, n, &got));
            // Verify the size of the read.
            if (offset + n <= size) {
              // Expect a full read.
              EXPECT_EQ(got.size(), n) << "block size = " << block_size
                                       << ", offset = " << offset << ", n = " << n;
            } else {
              // Expect a partial read.
    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)
  8. tensorflow/c/eager/c_api_unified_experimental_test.cc

    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/core/framework/full_type.pb.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/platform/test.h"
    
    using tensorflow::Status;
    using tensorflow::string;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_test.cc

      worker_server1.release();
      worker_server0.release();
    }
    
    // This test verifies the following:
    // 1. Start the GRPC servers for both worker 0 and 1 using the full cluster
    //    server def A.
    // 2. Create a context B using the full cluster server def A.
    // 3. Create the variable in B.
    // 4. Create a context C using a single host server def D with only worker 1.
    // 5. Read the variable in C.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
Back to top