Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for Spring (0.16 sec)

  1. tensorflow/c/c_api.cc

      for (int i = 0; i < noutputs; ++i) {
        c_outputs[i] = nullptr;
      }
    }
    
    // TF_TensorToTensorV1 decodes a string serialization to DT_RESOURCE.
    // In the TFv1 convention, TF_Tensor can hold a string serialization of
    // DT_RESOURCE. The string serialization is converted back to a
    // ResourceHandle during Session run where the TF_Tensor is converted to a
    // Tensor.
    // TFv2 does not depend on this conversion. There is no matching
    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/experimental/filesystem/plugins/gcs/gcs_helper.cc

    #include "tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.h"
    
    #include <stdio.h>
    
    #include <fstream>
    #include <string>
    #include <utility>
    
    TempFile::TempFile(const std::string& temp_file_name, std::ios::openmode mode)
        : std::fstream(temp_file_name, mode), name_(temp_file_name) {}
    
    TempFile::TempFile(TempFile&& rhs)
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Jun 26 14:56:58 GMT 2020
    - 1.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental.cc

    using tensorflow::string;
    
    namespace tensorflow {
    namespace tracing {
    typedef absl::flat_hash_map<std::string, tracing::FactoryFunction> FactoriesMap;
    
    static FactoriesMap& GetFactories() {
      static FactoriesMap* factories = new FactoriesMap;
      return *factories;
    }
    
    static tracing::FactoryFunction default_factory;
    
    void RegisterTracingEngineFactory(const string& name, FactoryFunction factory) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include <array>
    #include <memory>
    #include <string>
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/c_api_experimental.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 22:09:57 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/nn_grad.cc

        DCHECK(upstream_grad);
    
        // Recover data format from forward pass for gradient.
        std::string data_format;
        TF_RETURN_IF_ERROR(forward_attrs_.Get("data_format", &data_format));
    
        // Grad for A
        grad_inputs[0] = upstream_grad;
        grad_inputs[0]->Ref();
    
        // Grad for bias
        std::string name = "bias_add_grad";
        TF_RETURN_IF_ERROR(BiasAddGrad(ctx, upstream_grad, &grad_inputs[1],
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_debug_test.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/c/eager/c_api.h"
    
    #include <string.h>
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/test.h"
    
    TEST(CApiDebug, ScalarCPU) {
      TF_Status* status = TF_NewStatus();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 06 22:10:09 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    #include <stdlib.h>
    #include <string.h>
    
    #include "tensorflow/c/experimental/filesystem/filesystem_interface.h"
    #include "tensorflow/c/tf_status.h"
    
    // Implementation of a filesystem for POSIX environments.
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:21:15 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.cc

    #include "tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.h"
    
    #include <errno.h>
    #include <fcntl.h>
    #include <limits.h>
    #include <stdint.h>
    #include <stdlib.h>
    #include <string.h>
    #include <unistd.h>
    
    #include "tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h"
    
    namespace tf_posix_filesystem {
    
    int TransferFileContents(const char* src, const char* dst, mode_t mode,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jan 16 05:36:52 GMT 2020
    - 2.1K bytes
    - Viewed (1)
  9. tensorflow/c/c_test_util.cc

      if (ret) ret = attr_value->ParseFromArray(buffer->data, buffer->length);
      TF_DeleteBuffer(buffer);
      return ret;
    }
    
    std::vector<std::pair<string, string>> GetGradDefs(
        const tensorflow::GraphDef& graph_def) {
      std::vector<std::pair<string, string>> grads;
      for (const tensorflow::GradientDef& grad : graph_def.library().gradient()) {
        grads.emplace_back(grad.function_name(), grad.gradient_func());
      }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  10. tensorflow/c/eager/immediate_execution_tensor_handle.cc

    namespace tensorflow {
    
    std::string ImmediateExecutionTensorHandle::DebugString() const {
      PartialTensorShape shape;
      std::string shape_string;
      if (Shape(&shape).ok()) {
        shape_string = shape.DebugString();
      } else {
        shape_string = "<error computing shape>";
      }
      std::string value_string;
      if (!SummarizeValue(value_string).ok()) {
        value_string = "<error computing value>";
      }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top