Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 457 for vecotr (0.32 sec)

  1. tensorflow/cc/saved_model/fingerprinting_utils.h

    PruneChunkedMessage(
        const ::tensorflow::proto_splitter::ChunkedMessage& chunked_message,
        riegeli::RecordReader<riegeli::FdReader<>>& reader,
        std::vector<::tensorflow::proto_splitter::ChunkInfo> chunks_info,
        std::vector<RepeatedPtrField<::tensorflow::proto_splitter::FieldIndex>>
            target_fields_list);
    
    // Deterministically serializes the proto `message`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 5.9K 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/compiler/mlir/tf2xla/api/v2/legalize_tf.h

        llvm::StringRef device_type,
        std::vector<std::unique_ptr<mlir::Pass>>& custom_legalization_passes,
        XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns,
        const std::vector<tensorflow::TensorShape>& arg_shapes,
        std::vector<tpu::ShardingAndIndex>* arg_core_mapping,
        std::vector<std::vector<xla::Shape>>* per_core_arg_shapes,
        xla::CompileOnlyClient* client);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 07:32:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_op_interfaces.td

          "std::vector<int>", "GetSparseOperands", (ins)
        >,
        InterfaceMethod<
          [{Returns the supported block size of float sparse operands.}],
          "std::vector<std::vector<int>>", "GetFloatBlockSize", (ins)
        >,
        InterfaceMethod<
          [{Returns the supported block size of quantized sparse operands.}],
          "std::vector<std::vector<int>>", "GetQuantizedBlockSize", (ins)
        >,
      ];
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. tensorflow/cc/experimental/base/tests/tensor_test.cc

    TYPED_TEST(Construct1DTensorTest, ValidTensorAttributesAfterConstruction) {
      Status status;
      TF_DataType dtype = TypeParam::kDType;
      // This is our 1D tensor of varying dtype.
      std::vector<typename TypeParam::type> value = {42, 100, 0, 1, 4, 29};
      // Shape is Rank 1 vector.
      std::vector<int64_t> shape;
      shape.push_back(value.size());
    
      Tensor tensor = Tensor::FromBuffer(
          /*dtype=*/dtype, /*shape=*/shape,
          /*data=*/value.data(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:56:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc

                                               const std::vector<int> &non_biases,
                                               quant::AccumulatorScaleFunc func);
      quant::QuantParams default_quant_params_;
    };
    }  // namespace
    
    void DefaultQuantParamsPass::runOnOperation() {
      func::FuncOp func = getOperation();
      OpBuilder builder(func);
    
      std::vector<Value> activation_values;
      std::vector<Value> bias_values;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/ops/gen/cpp/views/op_view.cc

          OpArgumentView("const char*", "raw_device_name", "nullptr"));
    }
    
    const std::vector<ArgView>& OpView::Inputs() const { return input_args_; }
    
    const std::vector<ArgView>& OpView::Outputs() const { return output_args_; }
    
    const std::vector<AttrView>& OpView::Attributes() const {
      return argument_attrs_;
    }
    
    const std::vector<OpArgumentView>& OpView::AllArguments() const {
      return all_arguments_;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top