Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 946 for vecotr (0.23 sec)

  1. tensorflow/cc/experimental/libtf/module.cc

    // TODO(danielellis): Fill in with implementations.
    
    // Builds a vector of runtime representations of `SavedObject`s from a
    // SavedModel. These are returned as a flat list.  The full hierarchy building
    // and initialization should be done in a later pass.
    tensorflow::StatusOr<std::vector<Handle>> BuildObjects(TFPackage& tf_package) {
      std::vector<Handle> objects;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 02 20:02:30 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.cc

                           module_out->getBody()->getOperations());
    }
    
    // Returns a vector of passes from their names. If a pass is not found, then the
    // corresponding return entry is null.
    static std::vector<GraphOptimizationPass*> FindRegisteredPassesByName(
        const std::vector<std::string>& pass_names) {
      std::vector<GraphOptimizationPass*> pass_ids(pass_names.size(), nullptr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_device_compiler_client.cc

    #include <memory>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "xla/client/local_client.h"
    
    namespace tensorflow {
    namespace {
    std::vector<const xla::Shape*> GetShapePointers(
        absl::Span<const xla::Shape> shapes) {
      std::vector<const xla::Shape*> shape_ptrs;
      shape_ptrs.reserve(shapes.size());
      for (const auto& shape : shapes) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/tfe_tensor_debug_info_internal.h

    #define TENSORFLOW_C_EAGER_TFE_TENSOR_DEBUG_INFO_INTERNAL_H_
    
    #include <vector>
    
    #include "tensorflow/core/platform/types.h"
    
    struct TFE_TensorDebugInfo {
      explicit TFE_TensorDebugInfo(const std::vector<int64_t>& dims)
          : dev_dims(dims) {}
    
      // Fully-padded, minor-to-major.
      std::vector<int64_t> dev_dims;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  5. test/fixedbugs/bug026.go

    // license that can be found in the LICENSE file.
    
    package main
    
    type Element interface {
    }
    
    type Vector struct {
    }
    
    func (v *Vector) Insert(i int, e Element) {
    }
    
    
    func main() {
    	type I struct { val int; };  // BUG: can't be local; works if global
    	v := new(Vector);
    	v.Insert(0, new(I));
    }
    /*
    check: main_sigs_I: not defined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 447 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/check_accepted_ops_pass.cc

      explicit CheckAcceptedOpsPass(
          const std::vector<std::string> &optional_accepted_dialects)
          : accepted_dialects_(GetAcceptedStableHLODialects()),
            optional_accepted_dialects_(optional_accepted_dialects) {}
    
      // Check if TF dialect ops exist over the module.
      void runOnOperation() override;
    
     private:
      std::vector<std::string> accepted_dialects_;
      std::vector<std::string> optional_accepted_dialects_;
    };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 21:06:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. src/internal/types/testdata/fixedbugs/issue39768.go

    // var x A[int]
    // var _ A
    //
    // type B = T[int]
    // var y B = x
    // var _ B /* ERROR "not a generic type" */ [int]
    
    // test case from issue
    
    type Vector[T any] []T
    type VectorAlias = Vector // ERROR "cannot use generic type"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 578 bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/build_xla_ops_pass.cc

        s.graph()->AddControlEdge(ctrl_merge.node(), e->dst());
        s.graph()->RemoveControlEdge(e);
      }
    }
    
    struct XlaClusterInfo {
      std::vector<Output> constant_inputs;
      std::vector<Output> non_constant_inputs;
      std::vector<Output> resource_inputs;
      NameAttrList function;
    };
    
    Output IncomingEdgeAsOutput(const Edge* e) {
      return Output(e->src(), e->src_output());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/compilability_check_util.h

      using UncompilableNodesMap =
          std::map<std::string,
                   std::pair<NameAttrList, std::vector<UncompilableNodeInfo>>>;
    
      // Returns a map where the key is the function identifier(short debug
      // string) of the function encapsulating the uncompilable nodes, and the
      // value is a pair of NameAttrList of the function and a vector of
      // uncompilable node info. When uncompilable node is not inside any
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/pjrt_base_device.h

        // their declared shapes for computations. Must be non-empty.
        std::vector<XlaShapeLayoutHelpers::ShapeDeterminationFns>
            shape_determination_fns;
    
        Options(std::string device_name_prefix, std::string device_name,
                int device_ordinal, std::string compilation_device_name,
                std::vector<XlaShapeLayoutHelpers::ShapeDeterminationFns>
                    shape_determination_fns)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top