Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 269 for scast (0.04 sec)

  1. tensorflow/compiler/mlir/lite/utils/validators.cc

        return false;
    
      if (mlir::cast<IntegerAttr>(elements.front()).getInt() != 1 ||
          mlir::cast<IntegerAttr>(elements.back()).getInt() != 1)
        return false;
    
      Builder b(op->getContext());
      *x = b.getI32IntegerAttr(mlir::cast<IntegerAttr>(elements[1]).getInt());
      *y = b.getI32IntegerAttr(mlir::cast<IntegerAttr>(elements[2]).getInt());
      *z = b.getI32IntegerAttr(mlir::cast<IntegerAttr>(elements[3]).getInt());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/tests/raise_to_tf.mlir

      %0 = "tfr.cast"(%arg0) : (tensor<f32>) -> !tfr.tensor
      %1 = "tfr.cast"(%arg1) : (tensor<f32>) -> !tfr.tensor
      %2 = "tfr.cast"(%arg2) : (tensor<f32>) -> !tfr.tensor
      %3 = "tfr.build_list"(%0, %1, %2) : (!tfr.tensor, !tfr.tensor, !tfr.tensor) -> !tfr.tensor_list
      %concat = tfr.call @tf__risc_concat(%3) : (!tfr.tensor_list) -> !tfr.tensor
      %4 = "tfr.cast"(%concat) : (!tfr.tensor) -> tensor<3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/cast_bf16_ops_to_f32.mlir

    // CHECK: %[[cast:.*]] = "tf.Cast"(%[[cst]]) <{Truncate = false}> : (tensor<2x3x3x2xbf16>) -> tensor<2x3x3x2xf32>
    // CHECK: %[[conv:.*]] = "tf.Conv2D"(%arg0, %[[cast]])
    // CHECK: %[[identity:.*]] = "tf.IdentityN"(%[[conv]]) {device = ""} : (tensor<1x3x2x2xf32>) -> tensor<1x3x2x2xf32>
    // CHECK: return %[[identity]] : tensor<1x3x2x2xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. subprojects/core-api/src/test/groovy/org/gradle/api/internal/provider/views/AbstractHasMultiValuesPropertyCollectionViewTest.groovy

            then:
            property.get() == cast(["first", "second", "third", "forth", "fifth"])
    
            when:
            collection.remove("third")
    
            then:
            property.get() == cast(["first", "second", "forth", "fifth"])
            collection.size() == 4
    
            when:
            collection.add("third")
    
            then:
            property.get() == cast(["first", "second", "forth", "fifth", "third"])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 15:31:28 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/lower_quantized.mlir

      // CHECK-DAG: %[[C255:.*]] = "tf.Const"() <{value = dense<2.550000e+02> : tensor<f32>}>
      // CHECK-DAG: %[[CAST:.*]] = "tf.Cast"(%arg0) <{Truncate = false}>
      // CHECK-DAG: %[[SHIFT:.*]] = "tf.AddV2"(%[[CAST]], %[[HALF_RANGE]])
      // CHECK-DAG: %[[DRANGE:.*]] = "tf.Sub"(%arg2, %arg1)
      // CHECK-DAG: %[[SCALE:.*]] = "tf.Div"(%[[DRANGE]], %[[C255:.*]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/tests/opens2s_gnmt_mixed_precision.golden_summary

     StridedSlice 1
     Transpose 3
    cluster 6 size 11
     Cast 1
     Const 5
     GatherV2 1
     Shape 1
     StridedSlice 1
     Transpose 1
     ZerosLike 1
    cluster 7 size 33
     All 2
     Cast 1
     Const 17
     Equal 2
     ExpandDims 2
     GatherV2 1
     Identity 1
     ReverseSequence 1
     Shape 2
     StridedSlice 2
     Transpose 2
    cluster 8 size 11
     Cast 1
     Const 4
     Floor 1
     Identity 1
     Mul 2
     Pow 1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/tasks/AbstractExecTask.java

            return taskType.cast(this);
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public T args(Iterable<?> args) {
            execSpec.args(args);
            return taskType.cast(this);
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public T setArgs(List<String> arguments) {
            execSpec.setArgs(arguments);
            return taskType.cast(this);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 08 18:31:36 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  8. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/PublicationFieldValidator.java

            }
            return type.cast(this);
        }
    
        public T notEmpty() {
            notNull();
            if (value.length() == 0) {
                throw failure(String.format("%s cannot be empty.", name));
            }
            return type.cast(this);
        }
    
        public T validInFileName() {
            if (value == null || value.length() == 0) {
                return type.cast(this);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/tests/control_flow.mlir

      func.return %0 : tensor<1x2x3xf32>
    
    // CHECK-NEXT: %[[AXIS:.*]] = arith.constant 0 : i32
    // CHECK-NEXT: %[[CAST:.*]] = "tfr.cast"(%arg0) : (tensor<2x3xf32>) -> !tfr.tensor
    // CHECK-NEXT: %[[ED:.*]] = tfr.call @tf__expand_dims(%[[CAST]], %[[AXIS]]) : (!tfr.tensor, i32) -> !tfr.tensor
    // CHECK-NEXT: %[[BACK:.*]] = "tfr.cast"(%[[ED]]) : (!tfr.tensor) -> tensor<1x2x3xf32>
    // CHECK-NEXT: return %[[BACK]] : tensor<1x2x3xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 10:58:25 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/stdlib-java-extensions/src/test/groovy/org/gradle/internal/CastTest.groovy

    package org.gradle.internal
    
    import spock.lang.Specification
    
    import static Cast.cast
    
    class CastTest extends Specification {
    
        def "casting"() {
            given:
            def arg = "1"
    
            when:
            cast(Integer, arg)
    
            then:
            def e = thrown(ClassCastException)
            e.message == "Failed to cast object $arg of type ${arg.class.name} to target type ${Integer.name}"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top