- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for OneHot (0.15 sec)
-
tensorflow/cc/framework/fuzzing/op_fuzzing.bzl
"MatrixDiagPart", "MatrixDiagPartV2", "MatrixDiagPartV3", "MatrixDiagV2", "MatrixDiagV3", "MatrixSetDiag", "MatrixSetDiagV2", "MatrixSetDiagV3", "MirrorPad", "OneHot", "OnesLike", "Pack", "Pad", "PadV2", "ParallelConcat", "PlaceholderV2", "PlaceholderWithDefault", "PreventGradient", "QuantizeAndDequantize",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Nov 07 19:14:57 UTC 2022 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
"32 bit integer tensor">; def ConvertSingleElementAttrToFloatAttr : NativeCodeCall<"ConvertSingleElementAttrToFloatAttr($0)">; // Replace // (float)OneHot(index, depth, on_val, off_val, axis) // With // OneHot(index, depth, (float)on_val, (float)off_val, axis) def FuseOneHotAndCastToFloat : Pat< (TFL_CastOp:$output (TFL_OneHotOp $indices, $depth,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
tensorflow/cc/gradients/array_grad.cc
REGISTER_NO_GRADIENT_OP("Shape"); REGISTER_NO_GRADIENT_OP("ShapeN"); REGISTER_NO_GRADIENT_OP("Rank"); REGISTER_NO_GRADIENT_OP("Size"); REGISTER_NO_GRADIENT_OP("BroadcastGradientArgs"); REGISTER_NO_GRADIENT_OP("OneHot"); Status PackGrad(const Scope& scope, const Operation& op, const std::vector<Output>& grad_inputs, std::vector<Output>* grad_outputs) { int N;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 31.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
func.return %0 : tensor<?x?xf32> } // ----- func.func @testOneHot(%indices: tensor<3xi32>, %depth: tensor<i32>, %on_value: tensor<f32>, %off_value: tensor<f32>) -> tensor<3x5xf32> { %result = "tf.OneHot"(%indices, %depth, %on_value, %off_value) {axis = -1 : i64} : (tensor<3xi32>, tensor<i32>, tensor<f32>, tensor<f32>) -> tensor<3x5xf32> func.return %result : tensor<3x5xf32> } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir
// CHECK: return %0 : tensor<2x3x4x5xf32> } func.func @OneHot(%arg0: tensor<3xi32>, %arg1: tensor<i32>, %arg2: tensor<f32>, %arg3: tensor<f32>) -> tensor<*xf32> { %0 = "tf.OneHot"(%arg0, %arg1, %arg2, %arg3) {axis = -1 : i64} : (tensor<3xi32>, tensor<i32>, tensor<f32>, tensor<f32>) -> tensor<*xf32> func.return %0: tensor<*xf32> // CHECK-LABEL: OneHot
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 05 01:54:33 UTC 2024 - 153.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
return true; } // Returns true if attr is a DenseIntElementsAttr of int32 or int64 values or an // incrementing sequence from 0 to N-1. // // If such a value is used in an Equal operator, it can be replaced with OneHot. bool IsOneHotIndexAttribute(Attribute attr) { const auto dense_attr = mlir::dyn_cast_or_null<DenseIntElementsAttr>(attr); if (!dense_attr) { return false; } auto index_type = dense_attr.getType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass.cc
"Range", "Rank", "Reshape", "Shape", "ShapeN", "Size", "Squeeze", "Transpose", "ZerosLike", "OnesLike", "BiasAdd" /*PW + Broadcast*/, "BroadcastArgs", "BroadcastGradientArgs", "OneHot", "Concat", "ConcatV2", "ConcatOffset", "Const", "MirrorPad", "MirrorPadGrad", "Pack", "Pad", "PadV2", "Reverse", "ReverseV2", "ReverseSequence", "Slice", "Split", "SplitV", "StridedSlice", "StridedSliceGrad",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 85.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir
// CHECK-DAG: %[[ZERO:.*]] = "tf.Const"() <{value = dense<0.000000e+00> : tensor<f32>}> : () -> tensor<f32> // CHECK-DAG: %[[LABELS:.*]] = "tf.OneHot"(%[[SPARSE_LABELS]], %[[DEPTH]], %[[ONE]], %[[ZERO]]) <{axis = 1 : i64}> : (tensor<2xi32>, tensor<i32>, tensor<f32>, tensor<f32>) -> tensor<2x3xf32> // Adjust labels to have Nan for out of range labels.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 05 18:35:42 UTC 2024 - 92K bytes - Viewed (0) -
RELEASE.md
* Fixes a division by zero in TFLite's implementation of `Split` ([CVE-2021-29599](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29599)) * Fixes a division by zero in TFLite's implementation of `OneHot` ([CVE-2021-29600](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29600)) * Fixes a division by zero in TFLite's implementation of `DepthwiseConv`
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 730.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
let hasOptions = 1; let customOption = "ReducerOptions"; } def TFL_OneHotOp : TFL_Op<"one_hot", [ QuantizableResult, Pure]> { let summary = "OneHot operator"; let description = [{ Returns a one-hot tensor.The locations represented by indices in `indices` take value `on_value`, while all other locations take value `off_value`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0)