Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for vecotr (0.2 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. src/crypto/internal/hpke/testdata/rfc9180-vectors.json

    Roland Shoemaker <******@****.***> 1715710616 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

        return std::vector<double>(vec.begin(), vec.end());
      }
    
      return std::vector<double>();
    }
    
    // Handles the case when the DenseElementsAttr doesn't exist, and when it
    // doesn't returns a vector of length `default_size` all with the same value
    // `default_value`.
    template <typename T>
    static inline std::vector<T> GetOptionalVector(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      // indices
      // in the idx map, the value is a pair of offset and size
      absl::flat_hash_map<std::pair<std::vector<int32_t>, std::vector<int32_t>>,
                          std::vector<uint8_t>>
          custom_op_data_map_;
      absl::flat_hash_map<std::pair<std::vector<int32_t>, std::vector<int32_t>>,
                          std::pair<uint64_t, uint64_t>>
          custom_op_idx_map_;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc

    class CalibrationStatisticsSaverTest : public OpsTestBase {};
    
    TEST_F(CalibrationStatisticsSaverTest, MissingOutputPath) {
      std::vector<std::string> ids{"1"};
      std::vector<int32_t> calibration_methods{
          CalibrationOptions::CALIBRATION_METHOD_AVERAGE_MIN_MAX};
    
      std::vector<NodeDefBuilder::NodeOut> inputs;
      inputs.emplace_back("min", 0, DT_FLOAT);
      inputs.emplace_back("max", 0, DT_FLOAT);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top