Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for addTypes (0.15 sec)

  1. tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc

        const std::string tf_op_full_name = llvm::Twine("tf.", tf_op_name).str();
    
        // Create the TF op
        OperationState op_state(op.getLoc(), tf_op_full_name);
        op_state.addOperands(op.getOperands());
        op_state.addTypes(op.getResultTypes());
    
        SmallVector<NamedAttribute, 2> attrs;
        std::string parsed_op_name;
        tensorflow::NodeDef node_def;
        if (failed(ParseCustomOption(op.getCustomOption().getValue(), op.getLoc(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java

        ) {
            List<TypeSpec> interceptorTypeSpecs = generateInterceptorClasses(requestsClassGroup, onFailure);
    
            return builder -> builder
                .addModifiers(Modifier.PUBLIC)
                .addTypes(interceptorTypeSpecs);
        }
    
        @SuppressWarnings("ReturnValueIgnored")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

      DCHECK_GE(num_regions, 1);
      for (int i = 0; i < num_regions; ++i) {
        Region* region = state.addRegion();
        region->push_back(new Block);
      }
      state.addTypes(output_types);
    }
    
    Block& ParallelExecuteOp::GetRegionBlockWithIndex(unsigned index) {
      return getOperation()->getRegion(index).front();
    }
    
    Operation::result_range ParallelExecuteOp::GetRegionOutputs(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

        bool WrapsSingleOp();
      }];
    
      let builders = [
        OpBuilder<(ins "StringAttr":$device, "TypeRange":$result_types),
        [{
          $_state.addAttribute("device", device);
          $_state.addTypes(result_types);
          $_state.addRegion();
        }]>
      ];
    
      let hasCanonicalizer = 1;
    }
    
    def TfDevice_ReturnOp : TfDevice_Op<"return", [Pure, ReturnLike, Terminator]> {
      let summary = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      let hasFolder = 1;
      let hasCanonicalizer = 1;
    
      let builders = [
        OpBuilder<(ins "TypedAttr":$value),
        [{
          $_state.addAttribute("value", value);
          $_state.addTypes(value.getType());
        }]>
      ];
    
      let extraClassDeclaration = [{
        static bool isCompatibleReturnTypes(TypeRange l, TypeRange r);
      }];
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc

        auto& new_control_inputs_for_item = it->second;
        builder.setInsertionPoint(&item);
        OperationState state(item.getLoc(), item.getName());
        types.assign(item.result_type_begin(), item.result_type_end());
        state.addTypes(types);
        for (Region& region : item.getRegions()) {
          state.addRegion()->takeBody(region);
        }
        // Assign existing operands for item.
        operands.assign(item.operand_begin(), item.operand_end());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

      let hasFolder = 1;
    
      let builders = [
        OpBuilder<(ins "Attribute":$value),
        [{
          auto* ctx = value.getContext();
          $_state.addAttribute("value", value);
          $_state.addTypes(TFRAttrType::get(ctx));
        }]>
      ];
    
      let assemblyFormat = [{
        $value attr-dict `->` type($out)
      }];
    }
    
    def TFR_ConstantTensorOp : TFR_Op<"constant_tensor", [Pure]> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. src/debug/pe/file.go

    		}
    		if _, ok := dat[suffix]; ok {
    			// Already handled.
    			continue
    		}
    
    		b, err := sectionData(s)
    		if err != nil {
    			return nil, err
    		}
    
    		if suffix == "types" {
    			err = d.AddTypes(fmt.Sprintf("types-%d", i), b)
    		} else {
    			err = d.AddSection(".debug_"+suffix, b)
    		}
    		if err != nil {
    			return nil, err
    		}
    	}
    
    	return d, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  9. src/debug/macho/file.go

    		}
    		if _, ok := dat[suffix]; ok {
    			// Already handled.
    			continue
    		}
    
    		b, err := sectionData(s)
    		if err != nil {
    			return nil, err
    		}
    
    		if suffix == "types" {
    			err = d.AddTypes(fmt.Sprintf("types-%d", i), b)
    		} else {
    			err = d.AddSection(".debug_"+suffix, b)
    		}
    		if err != nil {
    			return nil, err
    		}
    	}
    
    	return d, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

    TFRDialect::TFRDialect(MLIRContext *context)
        : Dialect(/*name=*/"tfr", context, TypeID::get<TFRDialect>()) {
      // TFR depends on TensorFlow for its canonicalization
      context->getOrLoadDialect<TF::TensorFlowDialect>();
    
      addTypes<TFRTensorType, TFRTensorListType, TFRAttrType>();
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc.inc"
          >();
    
      addInterfaces<TFRInlinerInterface>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
Back to top