Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Value (0.13 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_TF_META("v", -1, TF_ATTR_TENSOR, -1);
      TF_Tensor* value;
      TF_OperationGetAttrTensor(oper, "v", &value, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      ASSERT_NE(nullptr, value);
      EXPECT_EQ(TF_INT8, TF_TensorType(value));
      EXPECT_EQ(ndims, TF_NumDims(value));
      for (int i = 0; i < TF_NumDims(value); ++i) {
        EXPECT_EQ(dims[i], TF_Dim(value, i)) << i;
      }
    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)
  2. tensorflow/c/eager/c_api_test.cc

      tensorflow::AttrValue padding_value;
      *padding_value.mutable_s() = "VALID";
      tensorflow::SetOpAttrValueScalar(ctx, op, padding_value, "padding", status);
    
      tensorflow::AttrValue data_format_value;
      *data_format_value.mutable_s() = "NHWC";
      tensorflow::SetOpAttrValueScalar(ctx, op, data_format_value, "data_format",
                                       status);
    
    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)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // ensures that two consecutive runs are unlikely to clash.
    class ModularFileSystemTest : public ::testing::TestWithParam<std::string> {
     public:
      // Initializes `root_dir_` to a unique value made of `::testing::TempDir()`, a
      // static random value unique for all the tests in one invocation, and the
      // current test name.
      //
      // Since the test name contains `/` (due to parameters), this function
      // replaces `/` with `_`.
      //
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/filesystem_interface.h

    // The named union is needed here (as opposed to
    // inside the `TF_Filesystem_Option_Value` struct)
    // as MSVC does not recognize `typeof`.
    typedef union TF_Filesystem_Option_Value_Union {
      int64_t int_val;
      double real_val;
      struct {
        char* buf;
        int buf_length;
      } buffer_val;
    } TF_Filesystem_Option_Value_Union;
    
    typedef struct TF_Filesystem_Option_Value {
      int type_tag;    // type of values in the values union
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function_test.cc

                            const char* attr_name, const char* attr_value,
                            TF_Operation** op) {
      TF_OperationDescription* desc = TF_NewOperation(graph, "Placeholder", name);
      TF_SetAttrType(desc, "dtype", TF_INT32);
      TF_SetAttrString(desc, attr_name, attr_value, strlen(attr_value));
      *op = TF_FinishOperation(desc, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    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)
  6. configure.py

      ask for user input. If no input is provided, the default is used.
    
      Args:
        environ_cp: copy of the os.environ.
        var_name: string for name of environment variable, e.g. "TF_NEED_CUDA".
        ask_for_var: string for how to ask for user input.
        var_default: default value string.
    
      Returns:
        string value for var_name
      """
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  7. tensorflow/c/c_api.h

    // If this function succeeds:
    //   * *status is set to an OK value,
    //   * a TF_Operation is added to the graph,
    //   * a non-null value pointing to the added operation is returned --
    //     this value is valid until the underlying graph is deleted.
    // Otherwise:
    //   * *status is set to a non-OK value,
    //   * the graph is not modified,
    //   * a null value is returned.
    // In either case, it deletes `desc`.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  8. tensorflow/BUILD

        "if_google",
        "if_oss",
        "if_xla_available",
        "tf_cc_shared_object",
        "tf_custom_op_library_additional_deps_impl",
        "tf_monitoring_python_deps",
        "tf_native_cc_binary",
        "tsl_async_value_deps",
    )
    load(
        "//tensorflow:tensorflow.default.bzl",
        "ADDITIONAL_API_INDEXABLE_SETTINGS",
        "tf_cc_shared_library",
    )
    load(
        "@local_xla//xla/tsl/mkl:build_defs.bzl",
        "if_mkl_ml",
    )
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
Back to top