Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for vecotr (0.35 sec)

  1. src/crypto/internal/hpke/hpke_test.go

    	vectorsJSON, err := os.ReadFile("testdata/rfc9180-vectors.json")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var vectors []struct {
    		Name        string
    		Setup       string
    		Encryptions string
    	}
    	if err := json.Unmarshal(vectorsJSON, &vectors); err != nil {
    		t.Fatal(err)
    	}
    
    	for _, vector := range vectors {
    		t.Run(vector.Name, func(t *testing.T) {
    			setup := parseVectorSetup(vector.Setup)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. 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)
  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/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/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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.cc

          RankedTensorType::get(ret.size(), builder.getIntegerType(32)), ret);
    }
    
    bool DenseI64AttrToI32Vector(const DenseIntElementsAttr& dense_attr,
                                 std::vector<int32_t>* out_vec) {
      std::vector<int32_t> ret(dense_attr.getNumElements());
      auto range = dense_attr.getValues<int64_t>();
      std::transform(range.begin(), range.end(), ret.begin(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 18:33:05 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.h

        *out_attr = content;
        return true;
      } else {
        return false;
      }
    }
    
    // Changes a DenseIntElementsAttr **containing I64** elements to an I32 Vector.
    bool DenseI64AttrToI32Vector(const DenseIntElementsAttr& dense_attr,
                                 std::vector<int32_t>* out_vec);
    
    // Gets boolean from composite attrs if it exists.
    std::optional<bool> GetBoolFromCompositeAttr(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 18:33:05 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc

                           fb_builder.CreateVector(std::vector<float>({1.0, 5.0}))),
          CreateOpMetadata(fb_builder, 2, 0,
                           fb_builder.CreateVector(std::vector<float>({1.0, 5.0}))),
          CreateOpMetadata(
              fb_builder, 3, 1,
              fb_builder.CreateVector(std::vector<float>({-1.0, 2.0}))),
      };
      const auto subgraphs = {CreateSubgraphMetadata(
          fb_builder, fb_builder.CreateVector(ops.begin(), ops.size()))};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top