Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 210 for Dtype (0.06 sec)

  1. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel.pbtxt

            }
          }
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/weights"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_FLOAT
            tensor_shape {
              dim {
                size: 1
              }
              dim {
                size: 1
              }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

              out = math_ops.select(condition, out, ones)
            elif self.same_scale_op == 'slice':
              begin = array_ops.zeros((array_ops.rank(out)), dtype=dtypes.int32)
              size = array_ops.ones((array_ops.rank(out)), dtype=dtypes.int32)
              out = array_ops.slice(out, begin, size)
            elif self.same_scale_op == 'transpose':
              out = array_ops.transpose(out)
            else:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/fallback.mlir

      %dense_default_0 = "tf.Const"() {device = "/device:CPU:0", dtype = f32, value = dense<[]> : tensor<0xf32>} : () -> tensor<0xf32>
      %dense_default_1 = "tf.Const"() {device = "/device:CPU:0", dtype = f32, value = dense<[]> : tensor<0xf32>} : () -> tensor<0xf32>
      %dense_keys = "tf.Const"() {device = "/device:CPU:0", dtype = !tf_type.string, value = dense<""> : tensor<2x!tf_type.string>} : () -> tensor<2x!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. tensorflow/cc/experimental/libtf/impl/tensor_spec_test.cc

      tensorflow::PartialTensorShape unknown_shape;
      TensorSpec ts1;
      ts1.shape = unknown_shape;
      ts1.dtype = tensorflow::DT_FLOAT;
    
      TensorSpec ts2;
      ts2.shape = tensorflow::PartialTensorShape({2});
      ts2.dtype = tensorflow::DT_FLOAT;
    
      TensorSpec ts3;
      ts3.shape = tensorflow::PartialTensorShape({1, 2});
      ts3.dtype = tensorflow::DT_FLOAT;
    
      EXPECT_TRUE(absl::VerifyTypeImplementsAbslHashCorrectly({ts1, ts2, ts3}));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 09:47:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel_4bit.pbtxt

            }
          }
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/weights"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_FLOAT
            tensor_shape {
              dim {
                size: 1
              }
              dim {
                size: 1
              }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/end2end/unroll_batch_matmul_disabled.pbtxt

    node {
      name: "Placeholder"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "shape"
        value {
          shape {
            dim {
              size: 2
            }
            dim {
              size: 5
            }
            dim {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

        return mlir::TF::ShapeAttr::get(type.getContext(), tensor_type.getShape());
      }
    
      // If type is not a RankedTensor or UnrankedTensor, it must be a scalar.
      // Empty TensorShape indicates a scalar.
      return mlir::TF::ShapeAttr::get(type.getContext(), ArrayRef<int64_t>());
    }
    
    absl::StatusOr<TensorSpecProto> ConvertTypeToTensorSpecProto(
        const mlir::Type& type) {
      DataType dtype;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  8. tensorflow/c/kernels_experimental.cc

        AllocatorAttributes attr;
        if (cc_input.dtype() == ::tensorflow::DT_VARIANT) {
          attr.set_on_host(true);
        }
        TF_RETURN_IF_ERROR(cc_ctx->allocate_temp(cc_input.dtype(), cc_input.shape(),
                                                 cc_out, attr));
    
        switch (cc_input.dtype()) {
          case ::tensorflow::DT_INVALID: {
            *cc_out = Tensor(::tensorflow::DT_INVALID);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc

            absl::StrSplit(type, absl::ByAnyChar("()"));
        // If type has subtypes then parts[0] = type, parts[1] = subtypes,
        // parts[2] = ""
        if (parts.size() != 3 && parts.size() != 1) {
          return errors::InvalidArgument("Invalid type '", type, "'");
        } else if (parts.size() == 3) {
          // First part is the type, second is the subtype
          ArrayInfo::SubTypeInfo subtype;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc

            xla_shape.dimensions(), &tensor_shape));
        arg_shapes.emplace_back(tensor_shape);
    
        DataType dtype;
        TF_RETURN_IF_ERROR(ConvertToDataType(input_type, &dtype));
    
        auto metadata_arg = metadata_proto.add_args();
        metadata_arg->set_kind(tpu::TPUCompileMetadataProto::Arg::PARAMETER);
        metadata_arg->set_dtype(dtype);
      }
    
      return absl::OkStatus();
    }
    
    absl::Status SetupReturnValues(mlir::ModuleOp module,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top