Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for Reed (0.29 sec)

  1. tensorflow/c/c_api_function_test.cc

       */
      // Define
      TF_Operation* feed = Placeholder(func_graph_, s_);
      Define(-1, {}, {feed}, {feed}, {});
    
      // Use, run, and verify
      TF_Operation* func_feed = Placeholder(host_graph_, s_);
      TF_Operation* func_op = Use({func_feed});
      Run({{func_feed, Int32Tensor(3)}}, func_op, 3);
      VerifyFDef(empty_, {{"feed_0", DT_INT32}}, {{"feed", DT_INT32}},
                 {{"feed_0", "feed"}}, {});
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

        // If this file does not exist on server, we will need to sync it.
        bool sync_need = (status_code == TF_NOT_FOUND);
        file->plugin_file = new tf_writable_file::GCSFile(
            {std::move(bucket), std::move(object), &gcs_file->gcs_client,
             TempFile(temp_file_name, std::ios::binary | std::ios::app), sync_need,
             -1});
      } else {
        // If compose is true, we do not download anything.
    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)
  3. tensorflow/c/c_api_experimental_test.cc

                                                               TF_DeleteStatus);
    
      TF_Operation* feed = Placeholder(func_graph.get(), s.get());
      TF_Operation* neg = Neg(feed, func_graph.get(), s.get());
    
      TF_Output inputs[] = {{feed, 0}};
      TF_Output outputs[] = {{neg, 0}};
      *func = TF_GraphToFunction(func_graph.get(), name, append_hash, -1,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  4. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

      TF_RETURN_IF_ERROR(ValidatePluginMemoryRoutines(info));
    
      // Validate and register all filesystems
      // Try to register as many filesystems as possible.
      // Free memory once we no longer need it
      Status status;
      for (int i = 0; i < info->num_schemes; i++) {
        status.Update(ValidateAndRegisterFilesystems(info, i));
        info->plugin_memory_free(info->ops[i].scheme);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental_graph.cc

     private:
      friend class GraphContext;  // For access to op_.
      TF_Graph* g_;
      std::unique_ptr<TF_OperationDescription> op_;
      // Hold `op_type` and `op_name` till both are available since we need both
      // to build a graph operation.
      string op_type_;
      const char* op_name_ = nullptr;
      // TODO(srbs): Use this.
      string device_name_;
    };
    
    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/eager/c_api.cc

        return nullptr;
      }
      std::vector<int64_t> dimvec(num_dims);
      for (int i = 0; i < num_dims; ++i) {
        dimvec[i] = static_cast<int64_t>(dims[i]);
      }
    
      // TODO(apassos) do we need to wrap the deallocator here to make sure to sync
      // the device?
      TF_ManagedBuffer* buf =
          new TF_ManagedBuffer(data, len, deallocator, deallocator_arg,
                               /*owns_memory=*/false);
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
Back to top