Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 946 for vecotr (0.16 sec)

  1. tensorflow/cc/framework/testutil.h

    #define TENSORFLOW_CC_FRAMEWORK_TESTUTIL_H_
    
    #include <vector>
    
    #include "tensorflow/cc/framework/ops.h"
    #include "tensorflow/cc/framework/scope.h"
    
    namespace tensorflow {
    namespace test {
    
    /// Computes the outputs listed in 'tensors', returns the tensors in 'out'.
    void GetTensors(const Scope& scope, OutputList tensors,
                    std::vector<Tensor>* out);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 15:47:18 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/signature_def_function_metadata.cc

    SignatureDefFunctionMetadata::SignatureDefFunctionMetadata(
        std::vector<SignatureDefParam> arguments,
        std::vector<SignatureDefParam> returns)
        : arguments_(std::move(arguments)), returns_(std::move(returns)) {}
    
    const std::vector<SignatureDefParam>& SignatureDefFunctionMetadata::arguments()
        const {
      return arguments_;
    }
    
    const std::vector<SignatureDefParam>& SignatureDefFunctionMetadata::returns()
        const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 29 23:11:59 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_launch_util.cc

    Status PreparePjRtExecutableArguments(
        int num_missing_prefix_ctx_inputs, const std::vector<int>& input_mapping,
        const std::vector<const Tensor*>& inputs,
        const absl::flat_hash_map<int, const Tensor*>& variable_snapshots,
        xla::PjRtClient* pjrt_client, xla::PjRtDevice* pjrt_device,
        bool use_pjrt_tensor_buffer, std::vector<xla::PjRtBuffer*>* args,
        std::vector<std::unique_ptr<xla::PjRtBuffer>>* owned_args,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.h

        const toco::ModelFlags& model_flags, toco::TocoFlags& toco_flags,
        mlir::quant::QuantizationSpecs* quant_specs,
        std::vector<string>* node_names, std::vector<string>* node_dtypes,
        std::vector<std::optional<std::vector<int>>>* node_shapes,
        std::vector<std::optional<double>>* node_mins,
        std::vector<std::optional<double>>* node_maxs);
    
    // Convert imported MLIR file to TfLite flatbuffer.
    // This will also run relevant passes as well.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo.h

        llvm::StringRef device_type,
        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,
        std::vector<std::unique_ptr<mlir::Pass>>& custom_legalization_passes,
        xla::CompileOnlyClient* client, XlaCompilationResult* compilation_result);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/signature_flattening_test.cc

    TEST(SignatureFlatteningTest, ZeroRetOutputSignature) {
      std::vector<const TensorSpecProto*> flattened;
      StructuredValue value = testing::ZeroReturnOutputSignature();
      TF_EXPECT_OK(internal::FlattenSignature(value, &flattened));
      EXPECT_EQ(flattened.size(), 0);
    }
    
    TEST(SignatureFlatteningTest, SingleArgInputSignature) {
      std::vector<const TensorSpecProto*> flattened;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 06 21:36:59 UTC 2020
    - 5.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device.cc

    };
    
    absl::optional<std::vector<MaybeParallelTensorOwned>> ExecuteWithSpecialOps(
        const ParallelDevice& parallel_device,
        const std::string& parallel_device_name, TFE_Context* context,
        std::vector<MaybeParallelTensorUnowned> inputs, const char* operation_name,
        const TFE_OpAttrs* attributes, int expected_max_outputs,
        TF_Status* status) {
      absl::optional<std::vector<MaybeParallelTensorOwned>> result;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 29 22:05:31 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  8. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen_main.cc

    #include "tensorflow/core/platform/types.h"
    #include "tsl/platform/status.h"
    
    namespace tensorflow {
    namespace cc_op {
    namespace {
    
    void WriteAllFuzzers(string root_location, std::vector<string> api_def_dirs,
                         std::vector<string> op_names) {
      OpList ops;
      absl::StatusOr<ApiDefMap> api_def_map =
          LoadOpsAndApiDefs(ops, false, api_def_dirs);
    
      TF_CHECK_OK(api_def_map.status());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 10:53:49 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/kernels/xla_ops.cc

    std::vector<int> ConstantsVector(OpKernelConstruction* ctx) {
      DataTypeVector constant_types;
      OP_REQUIRES_OK_RETURN(ctx, std::vector<int>(),
                            ctx->GetAttr("Tconstants", &constant_types));
      std::vector<int> constants(constant_types.size());
      std::iota(constants.begin(), constants.end(), 0);
      return constants;
    }
    
    std::vector<int> ResourcesVector(OpKernelConstruction* ctx) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc

      }
      void runOnOperation() override;
    };
    
    LogicalResult FindImplicityProducers(
        const std::vector<uint64_t> &explicitly_consumed_ids,
        std::vector<bool> &is_consumed_id,
        const std::vector<std::vector<uint64_t>> &dependency_graph) {
      std::vector<uint64_t> queue;
      queue.reserve(is_consumed_id.size());
      for (auto id : explicitly_consumed_ids) {
        is_consumed_id[id] = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top