Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for vec (0.02 sec)

  1. tensorflow/compiler/mlir/python/mlir_wrapper/types.cc

      py::class_<mlir::Type> Type(m, "Type");
    
      // Type Sub-classes
      py::class_<mlir::FunctionType, mlir::Type>(m, "FunctionType")
          .def("getResults",
               [](mlir::FunctionType& ft) { return ft.getResults().vec(); });
    
      py::class_<mlir::FloatType, mlir::Type>(m, "FloatType")
          .def("getBF16", &mlir::FloatType::getBF16)
          .def("getF16", &mlir::FloatType::getF16)
          .def("getF32", &mlir::FloatType::getF32)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 12 08:42:26 UTC 2021
    - 2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize_layout.cc

      void runOnOperation() override;
    };
    
    // Inversely permutate a given vector
    static SmallVector<int64_t> InvertPermutationToVector(ArrayRef<int64_t> vec,
                                                          ArrayRef<int64_t> perm) {
      return applyPermutation(vec, invertPermutationVector(perm));
    }
    
    static RankedTensorType GetPermutedTensorTypeHelper(RankedTensorType type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/interface.go

    type RatioedGaugeVec interface {
    	// NewForLabelValuesSafe makes a new vector member for the given tuple of label values,
    	// initialized with the given numerator and denominator.
    	// Unlike the usual Vec WithLabelValues method, this is intended to be called only
    	// once per vector member (at the start of its lifecycle).
    	// The "Safe" part is saying that the returned object will function properly after metric registration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 13 03:37:15 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  4. src/crypto/rsa/pss_test.go

    	"encoding/hex"
    	"math/big"
    	"os"
    	"strconv"
    	"strings"
    	"testing"
    )
    
    func TestEMSAPSS(t *testing.T) {
    	// Test vector in file pss-int.txt from: ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/pkcs-1v2-1-vec.zip
    	msg := []byte{
    		0x85, 0x9e, 0xef, 0x2f, 0xd7, 0x8a, 0xca, 0x00, 0x30, 0x8b,
    		0xdc, 0x47, 0x11, 0x93, 0xbf, 0x55, 0xbf, 0x9d, 0x78, 0xdb,
    		0x8f, 0x8a, 0x67, 0x2b, 0x48, 0x46, 0x34, 0xf3, 0xc9, 0xc2,
    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/utils/utils.h

    inline bool IsReshapeEquivalentToTranspose(ShapedType input_type,
                                               ShapedType output_type) {
      std::vector<int64_t> in_shape{input_type.getShape().vec()};
      std::vector<int64_t> out_shape{output_type.getShape().vec()};
    
      // If the reshape changes the number of dimensions so it cannot be interpreted
      // as a transpose.
      if (in_shape.size() != out_shape.size()) {
        return false;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

      builder.setInsertionPointAfter(while_op);
      tensorflow::Tensor default_key_tensor(tensorflow::DT_STRING, {3});
      default_key_tensor.vec<tensorflow::tstring>()(0) = kDefaultShardingValue;
      default_key_tensor.vec<tensorflow::tstring>()(1) = kDefaultShardingValue;
      default_key_tensor.vec<tensorflow::tstring>()(2) = kDefaultShardingValue;
      auto default_state_key = builder.create<TF::ConstOp>(
          while_op.getLoc(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. tensorflow/c/kernels/bitcast_op_test.cc

            << ctx.mutable_output(0)->shape().DebugString();
      }
    }
    
    TEST(BitcastOpTest, TestUpcast) {
      Tensor int8_input(DT_UINT8, {8});
      for (int i = 0; i < 8; i++) {
        int8_input.vec<uint8>()(i) = static_cast<uint8>(1);
      }
      TestBitcastOp(&int8_input, DT_UINT64, TensorShape(), error::OK);
    }
    
    TEST(BitcastOpTest, TestDowncast) {
      Tensor int64_input(static_cast<uint64>(1));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 18 15:10:51 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/common/tfl_pass_config.h

                << "\nlower_tensor_list_ops: " << pass_config.lower_tensor_list_ops
                << "\ntrim_functions_allowlist: "
                << absl::StrJoin(pass_config.trim_functions_allowlist.vec(), ",")
                << "\nform_clusters: " << pass_config.form_clusters
                << "\nunfold_batch_matmul: " << pass_config.unfold_batch_matmul
                << "\noutline_tf_while: " << pass_config.outline_tf_while
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/s390x/anames.go

    	"VCHLF",
    	"VCHLG",
    	"VCHLBS",
    	"VCHLHS",
    	"VCHLFS",
    	"VCHLGS",
    	"VCLZ",
    	"VCLZB",
    	"VCLZH",
    	"VCLZF",
    	"VCLZG",
    	"VCTZ",
    	"VCTZB",
    	"VCTZH",
    	"VCTZF",
    	"VCTZG",
    	"VEC",
    	"VECB",
    	"VECH",
    	"VECF",
    	"VECG",
    	"VECL",
    	"VECLB",
    	"VECLH",
    	"VECLF",
    	"VECLG",
    	"VERIM",
    	"VERIMB",
    	"VERIMH",
    	"VERIMF",
    	"VERIMG",
    	"VERLL",
    	"VERLLB",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 16:41:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/python/mlir_wrapper/ops.cc

              [](mlir::func::FuncOp& f) -> mlir::Region& { return f.getBody(); },
              py::return_value_policy::reference)
          .def("getArguments",
               [](mlir::func::FuncOp& f) { return f.getArguments().vec(); })
          .def("getName", [](mlir::func::FuncOp& f) { return f.getName().str(); })
          .def("getType", &mlir::func::FuncOp::getFunctionType);
    
      py::class_<mlir::func::ReturnOp>(m, "ReturnOp")
          .def("create",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 30 02:12:49 UTC 2022
    - 7.6K bytes
    - Viewed (0)
Back to top