Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 76 for output_types (0.2 sec)

  1. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

    LogicalResult ConstantTensorOp::verify() {
      ConstantTensorOp op = *this;
      auto input_type = op.getArg().getType();
      auto output_type = op.getOut().getType();
    
      if (auto output_tensor_type = output_type.dyn_cast<TFRTensorType>()) {
        return success();
      }
    
      auto output_tensor_type = output_type.dyn_cast<RankedTensorType>();
      if (!output_tensor_type || !output_tensor_type.hasStaticShape()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

               << "'hash_seed' attribute is not set or not an array";
      }
      auto output_type = GetResultType(func, 0);
      if (!output_type || !mlir::isa<FloatType>(output_type.getElementType()) ||
          !RankEquals(output_type, 2)) {
        return func.emitError() << "Output should be a 2D float tensor.";
      }
      if (output_type.getDimSize(1) != hash_seed.size()) {
        return func.emitError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

          for (Type& type : llvm::make_range(&state_->types[original_size],
                                             state_->types.end())) {
            Type output_type;
            TF_RETURN_IF_ERROR(AddRef(type, &output_type));
            type = output_type;
          }
        }
      }
      for (auto& it : attrs_) state_->addAttribute(it.first(), it.second);
      *state = state_.get();
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/utils.h

    // This is only valid for trivial reshape ops.
    inline DenseElementsAttr GetPermutationFromTrivialReshape(
        ShapedType input_type, ShapedType output_type) {
      ArrayRef<int64_t> in_shape = input_type.getShape();
      ArrayRef<int64_t> out_shape = output_type.getShape();
    
      // Get the indexes of the non-identity dimensions and the identity dimensions
      // in the input shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. cluster/images/etcd/Makefile

    push: build
    
    # split words on hyphen, access by 1-index
    word-hyphen = $(word $2,$(subst -, ,$1))
    
    sub-build-%:
    	$(MAKE) OUTPUT_TYPE=docker OS=$(call word-hyphen,$*,1) ARCH=$(call word-hyphen,$*,2) build
    
    all-build: $(addprefix sub-build-,$(ALL_OS_ARCH))
    
    sub-push-image-%:
    	$(MAKE) OUTPUT_TYPE=registry OS=$(call word-hyphen,$*,1) ARCH=$(call word-hyphen,$*,2) OSVERSION=$(call word-hyphen,$*,3) REGISTRY=$(PUSH_REGISTRY) push
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

               << operand0_type;
      }
      for (Type output_type : switchn.getResultTypes()) {
        if (mlir::isa<ControlType>(output_type)) break;
    
        TensorType output_tensor_type = mlir::dyn_cast<TensorType>(output_type);
        if (!output_tensor_type) {
          return switchn.emitOpError()
                 << "expects outputs to have tensor type but got " << output_type;
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

          !op.getAdjY() ? create_z_x_transpose_op(input_rhs) : input_rhs;
    
      Type output_type = op.getResult().getType();
      auto no_input = rewriter.create<TFL::NoValueOp>(
          op->getLoc(), rewriter.getNoneType(), rewriter.getUnitAttr());
      auto fc_op = rewriter.create<TFL::FullyConnectedOp>(
          op->getLoc(), ArrayRef<Type>{output_type},
          /*input=*/legalized_lhs, /*filter=*/legalized_rhs, /*bias=*/no_input,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/DefaultBinaryNamingSchemeTest.groovy

            def namingScheme = createNamingScheme(parentName, binaryType, dimensions)
    
            expect:
            namingScheme.getOutputDirectory(new File("."), outputType) == new File(".", outputDir)
    
            where:
            parentName    | binaryType   | dimensions                                 | outputType | outputDir
            "test"        | null         | []                                         | null       | "test"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10K bytes
    - Viewed (0)
  9. tensorflow/cc/framework/ops.h

      DataType input_type(int32_t o) const { return node_->input_type(o); }
      Output input(int32_t i) const;
    
      int32 num_outputs() const { return node_->num_outputs(); }
      DataType output_type(int32_t o) const { return node_->output_type(o); }
      Output output(int32_t i) const;
    
      Node* node() const { return node_; }
    
      uint64 hash(int32_t index) const;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc

          result.get(),
          "slice_with_slice_input/static_shaped_slice/static_shaped_slice");
      ASSERT_NE(static_shaped_slice, nullptr);
      EXPECT_EQ(static_shaped_slice->output_type(0), DT_FLOAT)
          << "Expected DT_FLOAT, was "
          << DataType_Name(static_shaped_slice->output_type(0));
      EXPECT_THAT(
          static_shaped_slice,
          NodeWith(
              Op("Slice"),
              Inputs(Out(NodeWith(
                         Op("Slice"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top