Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 191 for output_types (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.cc

      }
    
      for (auto result : llvm::zip(getResultTypes(), getOutputSpecs())) {
        Type outputType = std::get<0>(result);
        Attribute outputSpec = std::get<1>(result);
        if (!isValidQuantizationSpec(outputSpec, outputType)) {
          return emitOpError() << "has incompatible specification " << outputSpec
                               << " and output type " << outputType;
        }
      }
      return success();
    }
    
    LogicalResult StatisticsOp::verify() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.cc

      }
    
      for (auto result : llvm::zip(getResultTypes(), getOutputSpecs())) {
        Type outputType = std::get<0>(result);
        Attribute outputSpec = std::get<1>(result);
        if (!isValidQuantizationSpec(outputSpec, outputType)) {
          return emitOpError() << "has incompatible specification " << outputSpec
                               << " and output type " << outputType;
        }
      }
      return success();
    }
    
    LogicalResult StatisticsOp::verify() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      return kTfLiteOk;
    }
    
    TfLiteStatus QuantizeModel(ModelT* model, const TensorType& input_type,
                               const TensorType& output_type, bool allow_float,
                               std::string& output_buffer) {
      return QuantizeModel(model, input_type, output_type, allow_float,
                           /*operator_names=*/{}, TensorType_INT8, output_buffer);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/OutputUnpacker.java

                consumer.accept(filePropertySpec);
            }
        }
    
        private static void resolveCompositeOutputFilePropertySpecs(final String ownerDisplayName, final String propertyName, Object unpackedValue, final TreeType outputType, FileCollectionFactory fileCollectionFactory, Consumer<OutputFilePropertySpec> consumer) {
            if (unpackedValue instanceof Map) {
                for (Map.Entry<?, ?> entry : ((Map<?, ?>) unpackedValue).entrySet()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 15 21:15:56 UTC 2022
    - 9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc

      TF_RETURN_IF_ERROR(OutputTypesForNode(node_def, *op_def, &output_dtys));
    
      mlir::MLIRContext* context = tfr_module_.getContext();
      llvm::SmallVector<mlir::Type, 4> input_tys, output_tys;
      mlir::Builder builder(context);
      for (auto ty : input_dtys) {
        mlir::Type elt_ty;
        TF_RETURN_IF_ERROR(ConvertDataType(ty, builder, &elt_ty));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 29 02:34:43 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top