Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 946 for vecotr (0.22 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

    #include <cstdint>
    #include <map>
    #include <optional>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "flatbuffers/buffer.h"  // from @flatbuffers
    #include "flatbuffers/flatbuffer_builder.h"  // from @flatbuffers
    #include "flatbuffers/string.h"  // from @flatbuffers
    #include "flatbuffers/vector.h"  // from @flatbuffers
    #include "llvm/Support/Casting.h"
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc

    #include <algorithm>
    #include <map>
    #include <tuple>
    #include <utility>
    #include <vector>
    
    namespace mlir {
    namespace TFL {
    
    namespace {
    
    // Helper functions for sorted + deduped int vectors.
    
    std::tuple<std::vector<int>::iterator, bool> Find(const int item,
                                                      std::vector<int>& items) {
      const auto iter = std::lower_bound(items.begin(), items.end(), item);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  3. src/crypto/rsa/pss_test.go

    	}
    }
    
    // TestPSSGolden tests all the test vectors in pss-vect.txt from
    // ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/pkcs-1v2-1-vec.zip
    func TestPSSGolden(t *testing.T) {
    	inFile, err := os.Open("testdata/pss-vect.txt.bz2")
    	if err != nil {
    		t.Fatalf("Failed to open input file: %s", err)
    	}
    	defer inFile.Close()
    
    	// The pss-vect.txt file contains RSA keys and then a series of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      return op->hasAttr(TF::kReplicationInfoAttr);
    }
    
    template <typename Vector, typename Container>
    void Append(Vector& a, const Container& b) {
      a.insert(a.end(), b.begin(), b.end());
    }
    
    template <typename Vector>
    void Append(Vector& a, const Vector& b) {
      a.insert(a.end(), b.begin(), b.end());
    }
    
    int64_t GetNumOps(func::FuncOp func) {
      int64_t num_ops = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  5. src/crypto/ed25519/ed25519_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if !bytes.Equal(sig, expectedSig) {
    		t.Error("signature doesn't match test vector")
    	}
    	sig, err = private.Sign(nil, hash[:], &Options{Hash: crypto.SHA512})
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !bytes.Equal(sig, expectedSig) {
    		t.Error("signature doesn't match test vector")
    	}
    	if err := VerifyWithOptions(public, hash[:], sig, &Options{Hash: crypto.SHA512}); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/check_control_dependencies.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <memory>
    #include <queue>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "llvm/ADT/MapVector.h"
    #include "llvm/ADT/SmallVector.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

      // contains the dimensions appearing in the RHS and the OUTPUT of the einsum
      // but not in the LHS.
      std::vector<int64_t> lhs;
      std::vector<int64_t> rhs;
      std::vector<std::tuple<int64_t, int64_t>> lhs_rhs;
      std::vector<std::tuple<int64_t, int64_t>> lhs_out;
      std::vector<std::tuple<int64_t, int64_t>> rhs_out;
      std::vector<std::tuple<int64_t, int64_t, int64_t>> lhs_rhs_out;
    };
    
    TF::ReshapeOp createOutputReshapeOpForDynamic(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc

    static absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> GraphdefToMlirImport(
        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: Tue May 07 11:51:44 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. src/crypto/rsa/testdata/pss-vect.txt.bz2

    pss-vect.txt # ========== # TEST VECTORS FOR RSASSA-PSS # ========== # # This file contains test vectors for the # RSASSA-PSS signature scheme with appendix as # defined in PKCS #1 v2.1. 10 RSA keys of # different sizes have been generated. For each # key, 6 random messages of length between 1 # and 256 octets have been RSASSA-PSS signed # via a random salt of length 20 octets. # # The underlying hash function in the EMSA-PSS # encoding method is SHA-1; the mask generation # function is MGF1 with...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 27.9K bytes
    - Viewed (0)
  10. tensorflow/cc/gradients/array_grad.cc

                        const std::vector<Output>& grad_inputs,
                        std::vector<Output>* grad_outputs) {
      grad_outputs->push_back(Identity(scope, grad_inputs[0]));
      return scope.status();
    }
    REGISTER_GRADIENT_OP("Identity", IdentityGrad);
    
    Status RefIdentityGrad(const Scope& scope, const Operation& op,
                           const std::vector<Output>& grad_inputs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
Back to top