Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 946 for vecotr (0.44 sec)

  1. tensorflow/c/c_test_util.h

     private:
      void DeleteInputValues();
      void ResetOutputValues();
    
      TF_Session* session_;
      std::vector<TF_Output> inputs_;
      std::vector<TF_Tensor*> input_values_;
      std::vector<TF_Output> outputs_;
      std::vector<TF_Tensor*> output_values_;
      std::vector<TF_Operation*> targets_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.cc

                                  const absl::string_view inference_type,
                                  QuantizationSpecs* quant_specs) {
      const std::vector<std::string> input_nodes = absl::StrSplit(node_names, ',');
      std::vector<std::optional<double>> node_mins;
      if (!min_values.empty()) {
        std::vector<std::string> node_mins_str = absl::StrSplit(min_values, ',');
        for (const std::string& node_mins_str : node_mins_str) {
          double value;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // This cache has space for 4 blocks; we'll read from two files.
      const size_t n = 3;
      tf_gcs_filesystem::RamFileBlockCache cache(8, 32, 0, fetcher);
      std::vector<char> out;
      std::vector<char> a(n, 'a');
      std::vector<char> b(n, 'b');
      std::vector<char> A(n, 'A');
      std::vector<char> B(n, 'B');
      // Fill the cache.
      TF_EXPECT_OK(ReadCache(&cache, "a", 0, n, &out));
      EXPECT_EQ(out, a);
      EXPECT_EQ(calls, 1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:57 UTC 2021
    - 23.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h

                               absl::string_view shapes,
                               GraphImportConfig::InputArrays* inputs);
    
    Status ParseInputArrayInfo(
        const std::vector<string>& node_names,
        const std::vector<string>& node_dtypes,
        const std::vector<std::optional<std::vector<int>>>& node_shapes,
        GraphImportConfig::InputArrays* inputs);
    
    // Parses shapes from the given string into shapes_vector which is a structured
    // format.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:56:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.h

    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>>
    GraphdefToMlirTranslateFunction(
        llvm::StringRef input, const std::vector<std::string>& input_arrays,
        const std::vector<std::string>& input_dtypes,
        const std::vector<std::optional<std::vector<int>>>& input_shapes,
        const std::vector<std::string>& output_arrays,
        const std::vector<std::string>& control_output_arrays,
        const GraphdefToMlirOptions& import_options, mlir::MLIRContext* context);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/stablehlo_util.h

    #define TENSORFLOW_COMPILER_MLIR_LITE_STABLEHLO_TRANSFORMS_STABLEHLO_UTIL_H_
    
    #include <string>
    #include <vector>
    
    #include "llvm/ADT/StringRef.h"
    
    namespace mlir {
    namespace odml {
    
    std::vector<std::string> GetAcceptedStableHLODialects();
    
    std::vector<std::string> GetAcceptedTFLiteDialects();
    
    // Can we find the given `dialect_name` in the `accepted_dialects`?
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 21:06:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

    }
    
    static mlir::Attribute BuildRankedTensorAttr(std::vector<int64_t> shape,
                                                 std::vector<bool> value,
                                                 mlir::Builder builder) {
      // The implementation of getBoolVectorAttr is flawed, so we bypass it here
      std::vector<llvm::APInt> extendVec;
      extendVec.resize(value.size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/group_by_dialect.cc

          }
        }
      }
    }
    
    void wrapOpsInFunction(std::vector<Operation*>& ops, int function_id,
                           Operation* module) {
      if (ops.empty()) {
        return;
      }
    
      std::vector<Value> inputs;
      std::vector<Value> outputs;
      computeInputsOutputs(ops, &inputs, &outputs);
    
      std::vector<Type> input_types;
      std::vector<Type> output_types;
    
      input_types.reserve(inputs.size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradient_checker.cc

      int num_elems = TF_TensorElementCount(theta_tensor);
      vector<float> theta_data(num_elems);
      memcpy(theta_data.data(), TF_TensorData(theta_tensor),
             TF_TensorByteSize(theta_tensor));
    
      // Initialize space for the numerical gradient.
      vector<float> dtheta_approx(num_elems);
    
      // Get theta shape and store in theta_dims.
      int num_dims = TF_NumDims(theta_tensor);
      vector<int64_t> theta_dims(num_dims);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/internal/poly1305/sum_s390x.go

    )
    
    // updateVX is an assembly implementation of Poly1305 that uses vector
    // instructions. It must only be called if the vector facility (vx) is
    // available.
    //
    //go:noescape
    func updateVX(state *macState, msg []byte)
    
    // mac is a replacement for macGeneric that uses a larger buffer and redirects
    // calls that would have gone to updateGeneric to updateVX if the vector
    // facility is installed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top