Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 593 for shake (0.06 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/sink_in_invariant_ops.mlir

    // CHECK-LABEL: func private @batched_function
    // CHECK: arg1
    func.func private @batched_function(%arg0: tensor<1x3xf32>, %arg1: tensor<*x!tf_type.resource>) -> tensor<1x3xf32>
      attributes {tf._input_shapes = [#tf_type.shape<1x3>, #tf_type.shape<*>], tf.signature.is_stateful} {
      // CHECK: [[handle:%.*]] = "tf.VarHandleOp"()
      // CHECK: "tf.ReadVariableOp"([[handle]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 21K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_weight_param.mlir

      %cst = "tf.Const"() {value = dense<3.000000e-01> : tensor<2x3x3x2xf32>} : () -> tensor<2x3x3x2xf32>
      %0 = "tf.XlaCallModule"(%arg0, %cst) {
        Sout = [#tf_type.shape<1x2x2x2>], _entry_function = @composite_conv_fn,
        _original_entry_function = "composite_conv_fn",
        _stablehlo_module_attrs = {}, _quantization_method = "weight_only_ptq { }",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 22K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc

      auto reshape_op = [&](Value value, const SmallVector<int64_t> &shape) {
        const int64_t rank = shape.size();
        return builder.create<TF::ReshapeOp>(
            loc, RankedTensorType::get(shape, builder.getI32Type()), value,
            CreateConstValue<int64_t>(builder, loc, {rank}, shape));
      };
    
      ShapedType filter_shape = mlir::cast<ShapedType>(filter.getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/ModuleVersionNotFoundExceptionTest.groovy

            def versions = [
                    rejectedByAttributes('1.1', [color: ['red', 'red', true], shape: ['square', 'circle', false]]),
                    rejectedByAttributes('1.0', [color: ['red', 'green', false], shape: ['square', 'circle', false]]),
            ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

        shape->push_back(dim_size);
      }
      return success();
    }
    
    // Checks the result Variant type to infer the element shape if fully defined.
    // If the Variant type has multiple subtypes or does not have static shape,
    // return error.
    LogicalResult GetElementShapeFromResultType(
        Type type, llvm::SmallVector<int64_t, 8>* shape) {
      auto variant_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

              ConvertElementType(nested_tensor->type, builder);
          if (nested_tensor->has_rank) {
            llvm::SmallVector<int64_t> shape(nested_tensor->shape.begin(),
                                             nested_tensor->shape.end());
            tensor_types.push_back(
                tensorflow::GetTypeFromTFTensorShape(shape, nested_elem_type));
          } else {
            tensor_types.push_back(UnrankedTensorType::get(nested_elem_type));
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

          output_type = input_type;
        } else {
          auto shape = llvm::to_vector<4>(input_type.getShape());
          shape[concat_dimension] = shape[concat_dimension] * inputs.size();
          output_type =
              mlir::RankedTensorType::get(shape, input_type.getElementType());
        }
      } else {
        output_type = input_type;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/internal/component/ResolutionFailureHandlerIntegrationTest.groovy

                val color = Attribute.of("color", String::class.java)
                val shape = Attribute.of("shape", String::class.java)
                val matter = Attribute.of("state", String::class.java)
    
                configurations {
                    consumable("roundBlueLiquidElements") {
                        attributes.attribute(shape, "round")
                        attributes.attribute(color, "blue")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 45K bytes
    - Viewed (0)
  9. tensorflow/c/kernels_experimental.cc

      Tensor* var_tensor = variable->tensor();
      OP_REQUIRES(
          context, var_tensor->shape().IsSameSize(value.shape()),
          InvalidArgument("Cannot update variable with shape ",
                          var_tensor->shape().DebugString(),
                          " using a Tensor with shape ",
                          value.shape().DebugString(), ", shapes must be equal."));
      OP_REQUIRES_OK(context,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_launch_util_test.cc

      template <typename T>
      Tensor* CreateDeviceTensor(const TensorShape& shape,
                                 const gtl::ArraySlice<T> data) {
        Tensor* host_tensor = CreateHostTensor<T>(shape, data);
        Tensor* device_tensor =
            new Tensor(device_allocator_, DataTypeToEnum<T>::v(), shape);
        TF_EXPECT_OK(device_context_->CopyCPUTensorToDeviceSync(
            host_tensor, device_, device_tensor));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 28.8K bytes
    - Viewed (0)
Back to top