Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for proto3 (0.19 sec)

  1. tensorflow/c/experimental/gradients/tape/tape_operation.cc

        }
        if (num_dims_i < 0) {
          proto[i].set_unknown_rank(true);
        } else {
          const int64_t* dims_i = dims[i];
          auto proto_i = &proto[i];
          for (int d = 0; d < num_dims_i; ++d) {
            proto_i->add_dim()->set_size(dims_i[d]);
          }
        }
      }
      forward_op_.attrs.Set(
          attr_name, gtl::ArraySlice<TensorShapeProto>(proto.get(), num_values));
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  2. tensorflow/c/eager/parallel_device/BUILD

            "//tensorflow/c/eager:c_api",
            "//tensorflow/c/eager:c_api_experimental",
            "//tensorflow/c/eager:tfe_context_internal",
            "//tensorflow/core:framework",
            "//tensorflow/core:protos_all_cc",
            "//tensorflow/core:test",
            "//tensorflow/core:test_main",
            "//tensorflow/core/common_runtime/eager:context",
        ],
    )
    
    cc_library(
        name = "parallel_device_testlib",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 01 20:19:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/c/checkpoint_reader.cc

            << entry.InitializationErrorString();
        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 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

      string bytes1, bytes2;
      tensorflow::TensorShapeProto proto;
    
      const int64_t pts1[] = {2, 4, -1, 8};
      tensorflow::PartialTensorShape(pts1).AsProto(&proto);
      proto.SerializeToString(&bytes1);
    
      const int64_t pts2[] = {1, 3, 5, 7};
      tensorflow::PartialTensorShape(pts2).AsProto(&proto);
      proto.SerializeToString(&bytes2);
    
      std::unique_ptr<const void*[]> list_ptrs;
    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)
  5. tensorflow/c/c_api.cc

                                    const char* attr_name, const void* proto,
                                    size_t proto_len, TF_Status* status) {
      // shape.ParseFromArray takes an int as length, this function takes size_t,
      // make sure there is no information loss.
      if (proto_len > std::numeric_limits<int>::max()) {
        status->status = InvalidArgument(
            "proto_len (", proto_len,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    build:libtensorflow_build -- //tensorflow/tools/lib_package:libtensorflow.tar.gz //tensorflow/tools/lib_package:libtensorflow_jni.tar.gz //tensorflow/java:libtensorflow.jar //tensorflow/java:libtensorflow-src.jar //tensorflow/tools/lib_package:libtensorflow_proto.zip
    
    # For continuous builds
    test:pycpp_filters --test_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_aarch64,-no_oss_py38,-no_oss_py39,-no_oss_py310
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.h

    // Set the config in TF_ContextOptions.options.
    // config should be a serialized tensorflow.ConfigProto proto.
    // If config was not parsed successfully as a ConfigProto, record the
    // error information in *status.
    TF_CAPI_EXPORT extern void TFE_ContextOptionsSetConfig(
        TFE_ContextOptions* options, const void* proto, size_t proto_len,
        TF_Status* status);
    
    // Controls how to act when we try to run an operation on a given device but
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  8. tensorflow/c/eager/c_api_test.cc

      TFE_TensorHandle* retval[1] = {nullptr};
      int num_retvals = 1;
      TFE_Op* op = TFE_NewOp(ctx, "AddFunction", status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // Add a config_proto attr, to trigger grappler graph rewrites in the current
      // eager runtime.
      if (enable_grappler) {
        tensorflow::ConfigProto config;
        // Do not skip grappler optimization even for small graphs.
    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)
  9. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    build:libtensorflow_build -- //tensorflow/tools/lib_package:libtensorflow.tar.gz //tensorflow/tools/lib_package:libtensorflow_jni.tar.gz //tensorflow/java:libtensorflow.jar //tensorflow/java:libtensorflow-src.jar //tensorflow/tools/lib_package:libtensorflow_proto.zip
    
    # For continuous builds
    test:pycpp_filters --test_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_aarch64,-no_oss_py38,-no_oss_py39,-no_oss_py310
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    //tensorflow/core/kernels/cloud:bigquery_reader_ops
    //tensorflow/python:extra_py_tests_deps
    //tensorflow/python:mixed_precision
    //tensorflow/python:tf_optimizer
    //tensorflow/python:compare_test_proto_py
    //tensorflow/python/framework:test_ops_2
    //tensorflow/python/framework:test_file_system.so
    //tensorflow/python/debug:grpc_tensorflow_server.par
    //tensorflow/python/feature_column:vocabulary_testdata
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top