Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 76 for output_types (0.49 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go

    		return resultError("program instantiation failed: "+err.Error(), apiservercel.ErrorTypeInternal)
    	}
    	return CompilationResult{
    		Program:            prog,
    		ExpressionAccessor: expressionAccessor,
    		OutputType:         ast.OutputType(),
    	}
    }
    
    func mustBuildEnvs(baseEnv *environment.EnvSet) variableDeclEnvs {
    	requestType := BuildRequestType()
    	namespaceType := BuildNamespaceType()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

                                custom_op.getCustomCode().str());
        op_state.addOperands(custom_op.getOperands());
        llvm::SmallVector<mlir::Type, 4> output_tys;
        for (int i = 0; i < custom_op.getNumResults(); i++) {
          output_tys.push_back(custom_op.getType(i));
        }
        op_state.addTypes(output_tys);
        op_state.addAttributes(attr);
        auto stablehlo_op = builder.create(op_state);
        custom_op.replaceAllUsesWith(stablehlo_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

    }
    
    Status ConvertToTensorProto(const ElementsAttr attr, TensorProto* output) {
      auto type = attr.getShapedType();
      auto shape = type.getShape();
      DataType output_dtype;
      TF_RETURN_IF_ERROR(ConvertToDataType(type, &output_dtype));
      output->set_dtype(output_dtype);
      ConvertToTensorShapeProto(shape, output->mutable_tensor_shape());
    
      if (auto tensor_attr = mlir::dyn_cast<mlir::TF::TensorProtoAttr>(attr))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/partially_decluster_pass.cc

                                              n->def(), &input_mtypes,
                                              &output_mtypes));
        for (const Edge* e : n->out_edges()) {
          Node* dst = e->dst();
    
          if (e->IsControlEdge()) {
            continue;
          }
    
          bool edge_incurs_extra_device_to_host_copy;
          if (output_mtypes[e->src_output()] == DEVICE_MEMORY) {
            // If the output of the *TensorFlow* operation is in DEVICE_MEMORY then
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/shape_inference.cc

              Node* var_node;
              TF_RETURN_IF_ERROR(n->input_node(0, &var_node));
              const_def.set_name(
                  graph->NewName(absl::StrCat("var_shape_", var_node->name())));
              DataType dtype = n->output_type(0);
              AddNodeAttr("dtype", dtype, &const_def);
              TensorProto value;
              value.set_dtype(dtype);
              value.mutable_tensor_shape()->add_dim()->set_size(
                  shape_proto.dim_size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/python/converter_python_api.cc

          FromTocoDataTypeToTflitToTensorType(input_data_type);
      const tflite::TensorType output_type =
          FromTocoDataTypeToTflitToTensorType(output_data_type);
    
      std::string output_model;
      const absl::string_view input_model_buffer(buf, length);
      auto status = mlir::lite::QuantizeModel(
          input_model_buffer, input_type, output_type, inference_tensor_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/passes/decompose.cc

                mlir::isa<StringAttr>(attribute) ||
                mlir::isa<FlatSymbolRefAttr>(attribute)) {
              TFRAttrType output_type = TFRAttrType::get(builder.getContext());
              attr_cst =
                  builder.create<ConstOp>(op->getLoc(), output_type, attribute);
            } else {
              attr_cst = builder.create<mlir::arith::ConstantOp>(
                  op->getLoc(), cast<TypedAttr>(attribute));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/plugins/JacocoPlugin.java

            ));
            DirectoryProperty reportsDir = extension.getReportsDirectory();
            reportTask.getReports().all(action(report -> {
                if (report.getOutputType().equals(Report.OutputType.DIRECTORY)) {
                    ((DirectoryReport)report).getOutputLocation().convention(reportsDir.dir(reportTask.getName() + "/" + report.getName()));
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 21:09:25 UTC 2023
    - 14K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

        Value lookup = func_.getArgument(1);
        Value value = func_.getArgument(0);
        auto output_type = func_.getFunctionType().getResult(0);
    
        OpBuilder builder(func_.getBody());
        auto op = builder.create<mlir::TFL::EmbeddingLookupOp>(
            func_.getLoc(), output_type, lookup, value);
    
        builder.create<mlir::func::ReturnOp>(func_.getLoc(), op.getResult());
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go

    	ast, issues := ruleEnv.Compile(rule.Rule)
    	if issues != nil {
    		compilationResult.Error = &apiservercel.Error{Type: apiservercel.ErrorTypeInvalid, Detail: "compilation failed: " + issues.String()}
    		return
    	}
    	if ast.OutputType() != cel.BoolType {
    		compilationResult.Error = &apiservercel.Error{Type: apiservercel.ErrorTypeInvalid, Detail: "cel expression must evaluate to a bool"}
    		return
    	}
    
    	checkedExpr, err := cel.AstToCheckedExpr(ast)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top