Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for vectorType (0.12 sec)

  1. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.cc

      if (auto tensor_type = dyn_cast<UnrankedTensorType>(input_type))
        return UnrankedTensorType::get(elemental_type);
      if (auto vector_type = dyn_cast<VectorType>(input_type))
        return VectorType::get(vector_type.getShape(), elemental_type);
    
      // If the expressed types match, just use the new elemental type.
      if (elemental_type.getExpressedType() == expressed_type) {
        return elemental_type;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.cc

        if (auto tensorType = mlir::dyn_cast<TensorType>(expressed))
          return spec == tensorType.getElementType();
    
        if (auto vectorType = mlir::dyn_cast<VectorType>(expressed))
          return spec == vectorType.getElementType();
      }
      return false;
    }
    
    LogicalResult QuantizeRegionOp::verify() {
      // There are specifications for both inputs and outputs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.cc

        if (auto tensorType = mlir::dyn_cast<TensorType>(expressed))
          return spec == tensorType.getElementType();
    
        if (auto vectorType = mlir::dyn_cast<VectorType>(expressed))
          return spec == vectorType.getElementType();
      }
      return false;
    }
    
    LogicalResult QuantizeRegionOp::verify() {
      // There are specifications for both inputs and outputs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		bt.Size.goString(indent+2, "Size: "))
    }
    
    // VectorType is a vector type.
    type VectorType struct {
    	Dimension AST
    	Base      AST
    }
    
    func (vt *VectorType) print(ps *printState) {
    	ps.inner = append(ps.inner, vt)
    	ps.print(vt.Base)
    	if len(ps.inner) > 0 {
    		ps.printOneInner(nil)
    	}
    }
    
    func (vt *VectorType) printInner(ps *printState) {
    	end := byte(')')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    		return &TypeWithQualifiers{Base: &ArrayType{Dimension: dim, Element: q.Base}, Qualifiers: q.Qualifiers}
    	}
    
    	return arr
    }
    
    // vectorType parses:
    //
    //	<vector-type> ::= Dv <number> _ <type>
    //	              ::= Dv _ <expression> _ <type>
    func (st *state) vectorType(isCast bool) AST {
    	if len(st.str) == 0 {
    		st.fail("expected vector dimension")
    	}
    
    	var dim AST
    	if st.str[0] == '_' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

        if (!same_scalar) {
          op.emitError("input and output should have the same scalar types.");
        }
        return success(same_scalar);
      }
    
      if (auto input_vector_type = input_type.dyn_cast<VectorType>()) {
        bool same_element_type = output_tensor_type.getElementType() ==
                                 input_vector_type.getElementType();
        bool same_shape =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

          CreateI32SplatTensor(loc, rewriter, item_rank, 0);
      Value scalar_zero = CreateI32SplatConst(loc, rewriter, {}, 0);
      RankedTensorType vector_type =
          tensorflow::GetTypeFromTFTensorShape({1}, shape_dtype);
      auto expanded_start_index = rewriter->create<TF::ExpandDimsOp>(
          loc, vector_type, start_index, scalar_zero);
      auto start_position = rewriter->create<TF::ConcatOp>(
          loc, position_type, scalar_zero,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
Back to top