Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for optional (0.24 sec)

  1. tensorflow/c/eager/parallel_device/BUILD

            "//tensorflow/c/eager:c_api",
            "//tensorflow/c/eager:c_api_experimental",
            "//tensorflow/c/eager:tfe_tensorhandle_internal",
            "@com_google_absl//absl/strings",
            "@com_google_absl//absl/types:optional",
            "@com_google_absl//absl/types:variant",
        ],
    )
    
    cc_library(
        name = "parallel_device_lib",
        srcs = [":lib_sources"],
        hdrs = [":lib_headers"],
        visibility = ["//tensorflow:internal"],
    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)
  2. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    - Provide links to your TensorFlow model and (optionally) TensorFlow Lite Model.
    ```
    
    #### Option B: Paste your code here or provide a link to a custom end-to-end colab
    
    ```
    (You can paste links or attach files by dragging & dropping them below)
    - Include code to invoke the TFLite Converter Python API and the errors.
    - Provide links to your TensorFlow model and (optionally) TensorFlow Lite Model.
    ```
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Jun 15 03:35:58 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/immediate_execution_operation.h

    #ifndef TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_OPERATION_H_
    #define TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_OPERATION_H_
    
    #include <memory>
    
    #include "absl/types/optional.h"
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_operation.h"
    #include "tensorflow/c/eager/immediate_execution_tensor_handle.h"
    #include "tensorflow/c/tensor_interface.h"
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental_test.cc

        }
        TF_DeleteShapeAndTypeList(input_shapes);
        TF_DeleteShapeAndTypeList(output_shapes);
      }
    
      absl::optional<std::vector<int64_t>> make_shape(
          std::vector<int64_t>&& dims) const {
        return absl::make_optional(dims);
      }
    
      absl::optional<std::vector<int64_t>> unknown_shape() const {
        return absl::nullopt;
      }
    
      static constexpr int64_t kUnknownDim =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/grappler/grappler.h

    // Struct for Optimizer. Plugin authors must provide an optimize function.
    // Creation and deletion functions are optional.
    typedef struct TP_Optimizer {
      size_t struct_size;
      void* ext;  // reserved for future use
    
      // [Optional]
      // Create function for optimizer.
      void* (*create_func)();
    
      // Optimizer function for optimizer. The first param is an optimizer created
    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)
  6. .github/workflows/scorecards-analysis.yml

              # For private repositories, `publish_results` will automatically be set to `false`,
              # regardless of the value entered here.
              publish_results: true
    
          # Upload the results as artifacts (optional).
          - name: "Upload artifact"
            uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # v3.1.1
            with:
              name: SARIF file
              path: results.sarif
              retention-days: 5
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Dec 21 23:56:23 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/dlpack.cc

    #endif
      } else {
        status->status = tensorflow::errors::InvalidArgument(
            "Unsupported Device Type for dlpack");
      }
    
      return ctx;
    }
    
    // Converts DLDevice to TF device name.
    absl::optional<std::string> DeviceNameFromDlContext(const DLDevice& ctx,
                                                        TF_Status* status) {
      switch (ctx.device_type) {
        case DLDeviceType::kDLCPU:
          return "CPU:0";
    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)
  8. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // If the flag is not used, no shared objects are loaded.
    //
    // Every filesystem provides support for accessing URIs of form
    // `[<scheme>://]<path>` where `<scheme>` is optional (if missing, we are
    // accessing local paths). This test suite tests exactly one scheme for each
    // invocation. By default, we are testing all schemes available but this can be
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_unified_experimental_internal.h

    class TracingOperation : public AbstractOperation {
     protected:
      explicit TracingOperation(AbstractOperationKind kind)
          : AbstractOperation(kind) {}
    
     public:
      // Sets the name of the operation: this is an optional identifier that is
      // not intended to carry semantics and preserved/propagated without
      // guarantees.
      virtual Status SetOpName(const char* op_name) = 0;
    
      // For LLVM style RTTI.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_lib.h

    #ifndef TENSORFLOW_C_EAGER_PARALLEL_DEVICE_PARALLEL_DEVICE_LIB_H_
    #define TENSORFLOW_C_EAGER_PARALLEL_DEVICE_PARALLEL_DEVICE_LIB_H_
    
    #include <memory>
    #include <optional>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "absl/types/optional.h"
    #include "absl/types/span.h"
    #include "absl/types/variant.h"
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
Back to top