Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Valid (0.18 sec)

  1. tensorflow/c/eager/dlpack.cc

                                          int ndim) {
      bool valid = true;
      int64_t expected_stride = 1;
      for (int i = ndim - 1; i >= 0; --i) {
        // Empty tensors are always compact regardless of strides.
        if (shape_arr[i] == 0) return true;
        // Note that dimensions with size=1 can have any stride.
        if (shape_arr[i] != 1 && stride_arr[i] != expected_stride) {
          valid = false;
        }
        expected_stride *= shape_arr[i];
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

    }
    
    // Registers filesystem at `index`, if plugin is providing valid information.
    //
    // Extracted to a separate function so that pointers inside `info` are freed
    // by the caller regardless of whether validation/registration failed or not.
    //
    // Must be called only with `index` a valid index in `info->ops`.
    static Status ValidateAndRegisterFilesystems(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

      `comp:` etc.  At this stage we check if the PR is valid and meets certain
      quality requirements. For example, we check if the CLA is signed, PR has
      sufficient description, if applicable unit tests are added, if it is a
      reasonable contribution (meaning it is not a single liner cosmetic PR).
    
    **2. Valid?**
    
    -   If the PR passes all the quality checks then we go ahead and assign a
        reviewer.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/grappler/grappler.h

    // Delete GraphProperties.
    TF_CAPI_EXPORT extern void TF_DeleteGraphProperties(
        TF_GraphProperties* graph_properties);
    
    // Infer tensor shapes through abstract interpretation.
    // If assume_valid_feeds is true, it can help infer shapes in the fanout of fed
    // nodes. This may cause incorrectness in graph analyses, but is useful for
    // simulation or scheduling.
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/grappler/grappler.cc

      delete reinterpret_cast<tensorflow::grappler::GraphProperties*>(
          graph_properties);
    }
    
    void TF_InferStatically(TF_GraphProperties* graph_properties,
                            TF_Bool assume_valid_feeds,
                            TF_Bool aggressive_shape_inference,
                            TF_Bool include_input_tensor_values,
                            TF_Bool include_output_tensor_values,
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  6. tensorflow/c/eager/c_api_experimental.h

    // This function will block till the operation that produces `h` has
    // completed. This is only valid on local TFE_TensorHandles. The pointer
    // returned will be on the device in which the TFE_TensorHandle resides (so e.g.
    // for a GPU tensor this will return a pointer to GPU memory). The pointer is
    // only guaranteed to be valid until TFE_DeleteTensorHandle is called on this
    // TensorHandle. Only supports POD data types.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.h

                                            TF_Status* status);
    TF_CAPI_EXPORT extern void TFE_DeleteOp(TFE_Op* op);
    
    // Returns the op or function name `op` will execute.
    //
    // The returned string remains valid throughout the lifetime of 'op'.
    TF_CAPI_EXPORT extern const char* TFE_OpGetName(const TFE_Op* op,
                                                    TF_Status* status);
    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. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    #
    # We can't test on the windows toolchains because they're using a legacy
    # toolchain format (or something) that specifies the toolchain directly instead
    # of as a "repository". They can't be valid on Linux because Linux can't do
    # anything with a Windows-only toolchain, and bazel errors if trying to build
    # that directory.
    @test "bazel nobuild passes on all of TF except TF Lite and win toolchains" {
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_cluster_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // The device of var_handle0 is local device which is the same before and
      // after cluster update. Remove resource with valid device should succeed.
      TFE_Op* op = TFE_NewOp(ctx, "DestroyResourceOp", status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(op, var_handle0, status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  10. ci/official/utilities/code_check_full.bats

    #
    # We can't test on the windows toolchains because they're using a legacy
    # toolchain format (or something) that specifies the toolchain directly instead
    # of as a "repository". They can't be valid on Linux because Linux can't do
    # anything with a Windows-only toolchain, and bazel errors if trying to build
    # that directory.
    @test "bazel nobuild passes on all of TF except TF Lite and win toolchains" {
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top