Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 209 for Dtype (0.05 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

        LLVM_DEBUG(llvm::dbgs() << "Zero point value should be a tensor type. Got: "
                                << zero_points_type << ".\n");
        return failure();
      }
    
      if (Type zero_points_element_type = zero_points_type.getElementType();
          !mlir::isa<IntegerType>(zero_points_element_type)) {
        LLVM_DEBUG(llvm::dbgs() << "Zero point should be an integer type. Got: "
                                << zero_points_element_type << ".\n");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. RELEASE.md

            the layer's dtype. If you had a model that used `float64`, it will
            probably silently use `float32` in TensorFlow2, and a warning will be
            issued that starts with Layer "layer-name" is casting an input tensor
            from dtype float64 to the layer's dtype of float32. To fix, either set
            the default dtype to float64 with
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      TF_OperationDescription* init(string type) {
        // Construct op_name to match the name used by REGISTER_OP in the
        // ATTR_TEST_REGISTER calls above.
        string op_name = "CApiAttributesTestOp";
        if (type.find("list(") == 0) {
          op_name += "List";
          type = type.replace(0, 5, "");
          type = type.replace(type.size() - 1, 1, "");
        }
        op_name += type;
        return TF_NewOperation(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // An additional sharding is added at the end to account for token result.
      // Proto debug string:
      //   type: TUPLE
      //   tuple_shardings {
      //     type: MAXIMAL
      //     tile_assignment_dimensions: 1
      //     tile_assignment_devices: 0
      //   }
      //   tuple_shardings {
      //     type: MAXIMAL
      //     tile_assignment_dimensions: 1
      //     tile_assignment_devices: 0
      //   }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

    }
    
    // Return true if the passed quantized type is unsigned.
    bool QuantizedTypeIsUnsigned(Type type) {
      return TypeSwitch<Type, bool>(type)
          .Case<mlir::TF::Qint8Type>([](Type) { return false; })
          .Case<mlir::TF::Qint16Type>([](Type) { return false; })
          .Case<mlir::TF::Qint32Type>([](Type) { return false; })
          .Case<mlir::TF::Quint8Type>([](Type) { return true; })
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

            llvm::dyn_cast<TF::ConstOp>(fold_results[0].getDefiningOp()).getValue(),
            &tensor));
        xla::Shape xla_shape;
        TF_RETURN_IF_ERROR(tensorflow::TensorShapeToXLAShape(
            tensor.dtype(), tensor.shape(), &xla_shape));
        xla::PjRtClient::HostBufferSemantics host_buffer_semantics =
            xla::PjRtClient::HostBufferSemantics::kImmutableUntilTransferCompletes;
        TF_ASSIGN_OR_RETURN(
            auto buffer,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      // CHECK: %[[RESULT:.*]] = "tf.Maximum"(%arg0, %[[CST]]) {device = "/job:localhost/replica:0/task:0/device:GPU:0", dtype = i32} : (tensor<4xi32>, tensor<i32>) -> tensor<4xi32>
      // CHECK: return %[[RESULT]]
      %cst_0 = arith.constant dense<0> : tensor<i32>
      %0 = "tf.Maximum"(%arg0, %cst_0) {device = "/job:localhost/replica:0/task:0/device:GPU:0", dtype = i32} : (tensor<4xi32>, tensor<i32>) -> tensor<4xi32>
      func.return %0 : tensor<4xi32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

    //   args {
    //     dtype: DT_INT32
    //     shape {
    //       dim {
    //         size: 8
    //       }
    // .   }
    //     kind: PARAMETER
    //     sharding {
    //       type: MAXIMAL
    //       tile_assignment_dimensions: 1
    //       tile_assignment_devices: 0
    //     }
    //   }
    //   retvals {
    //     sharding {
    //       type: MAXIMAL
    //       tile_assignment_dimensions: 1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

      // sharding.
      // The split sharding is:
      //   type: OTHER
      //   tile_assignment_dimensions: 2
      //   tile_assignment_dimensions: 1
      //   tile_assignment_devices: 0
      //   tile_assignment_devices: 1
      // Serialized string:
      //   "\08\03\1A\02\02\01\22\02\00\01"
      // The manual sharding is:
      //   type: MANUAL
      // Serialized string:
      //   "\08\04"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

        save.save(
            model,
            self._input_saved_model_path,
            signatures=model.matmul.get_concrete_function(
                tensor_spec.TensorSpec(
                    shape=input_shape, dtype=dtypes.float32, name='input_tensor'
                )
            ),
        )
    
        def data_gen() -> repr_dataset.RepresentativeDataset:
          for _ in range(50):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
Back to top