Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for setFAttr (0.18 sec)

  1. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

      // function name can be changed by those passes.
      call_op->setAttr(TF::kStablehloEntryFunctionAttrName,
                       FlatSymbolRefAttr::get(builder.getStringAttr(func_name)));
      // Store the custom attribute to restore the function name when loading it
      // back in the post calibration stage. As mentioned above, the above entry
      // function attribute is not reliable.
      call_op->setAttr(kOriginalStablehloEntryFunctionAttrName,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

            return func.emitError()
                   << "failed to rename StableHLO function " << func.getSymName();
          }
        }
        if (is_main_func) {
          main_func_name = func.getSymNameAttr();
        }
        func->setAttr(kFromXlaCallModuleAttrName, builder.getUnitAttr());
      }
      if (!main_func_name) {
        return stablehlo_module.emitError()
               << "StableHLO module does not have an entry function";
      }
      return main_func_name;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

      ConstOp zero = builder.create<ConstOp>(loc, zero_attr);
      zero->setAttr(kICIWeightDistributionMlirBridgeMarker,
                    builder.getBoolAttr(true));
      ConstOp shape = builder.create<ConstOp>(loc, shape_attr);
      shape->setAttr(kICIWeightDistributionMlirBridgeMarker,
                     builder.getBoolAttr(true));
      FillOp fill = builder.create<FillOp>(loc, shape, zero);
      fill->setAttr(kICIWeightDistributionMlirBridgeMarker,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

                getContext(), ftype.getResults(), graph_func.getAllResultAttrs(),
                res_types, res_attrs)))
          return failure();
    
        // Update the function type which has excluded the control args.
        func->setAttr("function_type", TypeAttr::get(rewriter.getFunctionType(
                                           arg_types, res_types)));
    
        // Update arg/result attributes.
        func.setAllArgAttrs(arg_attrs);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

      llvm::SmallVector<mlir::Type, 4> output_types(num_split, output_type);
      *split_op = builder->create<mlir::TF::SplitOp>(
          location, output_types, split_dimension_op.getOutput(), src_input);
      (*split_op)->setAttr(
          kNumSplitAttr,
          builder->getIntegerAttr(builder->getIntegerType(32), num_split));
      return mlir::success();
    }
    
    // Creates a tf::ConcatOp that merges `input` values in `concat_dimension`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

        if (functions_to_skip.contains(func_op)) {
          OpBuilder builder(func_op);
          // Mark this function as being skipped in island outlining.
          func_op->setAttr(mlir::TF::kSkipIslandOutlining,
                           builder.getBoolAttr(true));
          continue;
        }
    
        func_op.walk([&](GraphOp graph) {
          Block& graph_body = graph.GetBody();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. src/syscall/syscall_linux.go

    		}
    	} else if ret := cgocaller(cgo_libc_setuid, uintptr(uid)); ret != 0 {
    		err = errnoErr(Errno(ret))
    	}
    	return
    }
    
    //sys	Setpriority(which int, who int, prio int) (err error)
    //sys	Setxattr(path string, attr string, data []byte, flags int) (err error)
    //sys	Sync()
    //sysnb	Sysinfo(info *Sysinfo_t) (err error)
    //sys	Tee(rfd int, wfd int, len int, flags int) (n int64, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top