Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 52 for declTypes (0.24 sec)

  1. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    //	         ::= <template-prefix> <template-args>
    //	         ::= <template-param>
    //	         ::= <decltype>
    //	         ::=
    //	         ::= <substitution>
    //
    //	<template-prefix> ::= <prefix> <(template) unqualified-name>
    //	                  ::= <template-param>
    //	                  ::= <substitution>
    //
    //	<decltype> ::= Dt <expression> E
    //	           ::= DT <expression> E
    func (st *state) prefix() AST {
    	var a AST
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental_graph.cc

      }
      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
        return ptr->getKind() == kGraph;
      }
    
     private:
      std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> graph_;
      std::vector<TF_Output> inputs_;
      string name_;
    };
    
    static TracingContext* GraphTracingFactory(const char* name, TF_Status* s) {
      return new GraphContext(name);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_cluster_test.cc

    }
    
    void CheckTFE_TensorHandleHasFloats(TFE_TensorHandle* handle,
                                        const std::vector<float>& expected_values) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TF_Tensor* t = TFE_TensorHandleResolve(handle, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 10:03:59 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    // methods here, as part of making this class a singleton and the only way to
    // register/use filesystems.
    
    namespace tensorflow {
    
    using UniquePtrTo_TF_Status =
        ::std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)>;
    
    Status ModularFileSystem::NewRandomAccessFile(
        const std::string& fname, TransactionToken* token,
        std::unique_ptr<RandomAccessFile>* result) {
      if (ops_->new_random_access_file == nullptr)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

    // there are more than one), or "" otherwise.
    string GPUDeviceName(TF_Session* session) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TF_Status* s = status.get();
      std::unique_ptr<TF_DeviceList, decltype(&TF_DeleteDeviceList)> list(
          TF_SessionListDevices(session, s), TF_DeleteDeviceList);
      TF_DeviceList* device_list = list.get();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                   expected_max_outputs, *default_cancellation_manager_);
      auto result = Join(expected_output_shapes, status);
      if (TF_GetCode(status) != TF_OK) {
        std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> await_status(
            TF_NewStatus(), TF_DeleteStatus);
        // Wait until all pending nodes have completed since they may have a
        // reference to default_cancellation_manager_. We ignore the status return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 07:47:20 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. tensorflow/cc/framework/cc_op_gen_util.cc

              "char32_t",
              "class",
              "compl",
              "concept",
              "const",
              "const_cast",
              "constexpr",
              "continue",
              "decltype",
              "default",
              "delete",
              "do",
              "double",
              "dynamic_cast",
              "else",
              "enum",
              "explicit",
              "export",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.cc

    using tensorflow::FunctionDef;
    using tensorflow::Node;
    using tensorflow::NodeBuilder;
    using tensorflow::Status;
    using tensorflow::errors::InvalidArgument;
    
    namespace {
    typedef std::unique_ptr<TF_Function, decltype(&TF_DeleteFunction)>
        UniqueFuncPtr;
    }
    
    // struct TF_Operation { tensorflow::Node node; };
    static TF_Operation* ToTF_Operation(Node* node) {
      return static_cast<TF_Operation*>(static_cast<void*>(node));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  9. tensorflow/c/kernels_experimental.cc

      auto* tmp_var = new TmpVar;
      OP_REQUIRES(context, tmp_var,
                  absl::ResourceExhaustedError("Could not allocate TmpVar."));
      tmp_var->name = unique_name;
    
      Status s;
      std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> tmp_var_tf(
          tensorflow::TF_TensorFromTensor(tmp_var->val, &s), TF_DeleteTensor);
      OP_REQUIRES_OK(context, s);
      allocFunc(ctx, tmp_var_tf.get(), dtype, dims, num_dims, tf_status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

    std::optional<StringRef> GetShardingStringFromVariant(
        const OpShardingVariant& sharding_or_op) {
      return std::visit(
          [](auto&& sharding_or_op) -> std::optional<StringRef> {
            using T = std::decay_t<decltype(sharding_or_op)>;
            if constexpr (std::is_same_v<T, StringRef>) {
              return sharding_or_op;
            } else {
              return GetXlaShardingFromOperator(sharding_or_op);
            }
          },
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top