Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for var_handle (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc

        // simple like "cast" and keep tracing.
        return traceUpwardsToArgument(v.getDefiningOp()->getOperand(0), seen, out);
      } else {
        // Typically a tf.VarHandle op.
        return v.getDefiningOp()->emitOpError("Non constant predecessor");
      }
    }
    
    // For the "resource" attribute in a ReadVariable or AssignVariable op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc

      }
    };
    
    // Checks if the input producer op is supported in this transform. Right now, we
    // only check if it is a tf.IteratorGetNext where resource input is coming from
    // a VarHandle on CPU or a function argument assigned to CPU.
    bool IsSupportedInputOp(
        Operation* op,
        const TF::ResourceAliasAnalysis::Info& resource_alias_analysis) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

        because the tensors are loaded asynchronously.
    
      }];
    
      let arguments = (ins
        TFTensorType:$prefix,
        TFTensorType:$tensor_names,
        TFTensorType:$shape_and_slices,
        Variadic<TFTensorType>:$var_handles,
        TypeArrayAttr: $restored_dtypes,
        DenseBoolArrayAttr: $truncate_in_cast
      );
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

        if (variables.count(GetResourceKey(var_handle_op)))
          work_list.push_back(var_handle_op);
      }
    
      // Capture list of ops to be erased by traversing usage starting from
      // the VarHandle ops.
      llvm::SetVector<Operation*> erase_list;
      while (!work_list.empty()) {
        auto* operation = work_list.pop_back_val();
        erase_list.insert(operation);
        for (auto& use : operation->getUses()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/schema/schema_generated.h

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top